Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f0f68b25
Commit
f0f68b25
authored
Dec 22, 1997
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(cc-imenu-objc-function): Use bufsubst-fun as a variable, not as a function.
parent
9153492c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
lisp/progmodes/cc-menus.el
lisp/progmodes/cc-menus.el
+5
-4
No files found.
lisp/progmodes/cc-menus.el
View file @
f0f68b25
...
...
@@ -279,9 +279,9 @@ Example:
;;
;; Does this emacs has buffer-substring-no-properties?
;;
(
f
set
'
bufsubst-fun
(
if
(
fboundp
'buffer-substring-no-properties
)
(
symbol-function
'buffer-substring-no-properties
)
(
symbol-function
'buffer-substring
)))
(
set
q
bufsubst-fun
(
if
(
fboundp
'buffer-substring-no-properties
)
(
symbol-function
'buffer-substring-no-properties
)
(
symbol-function
'buffer-substring
)))
(
goto-char
(
point-max
))
(
imenu-progress-message
stupid
0
)
;;
...
...
@@ -293,7 +293,8 @@ Example:
((
match-beginning
C3
)
C3
)
((
match-beginning
C2
)
C2
)
((
match-beginning
C1
)
C1
))))
(
setq
str
(
bufsubst-fun
(
match-beginning
langnum
)
(
match-end
langnum
)))
(
setq
str
(
funcall
bufsubst-fun
(
match-beginning
langnum
)
(
match-end
langnum
)))
;;
(
cond
;;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment