projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81510f2
)
(c-initialize-cc-mode): Be slightly more explicit
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Sat, 28 Oct 2023 01:17:38 +0000
(21:17 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Sat, 28 Oct 2023 01:17:38 +0000
(21:17 -0400)
* lisp/progmodes/cc-mode.el (c-initialize-cc-mode): Don't depend on
the fact that `post-text-conversion-hook` is "local only".
lisp/progmodes/cc-mode.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/cc-mode.el
b/lisp/progmodes/cc-mode.el
index 8dea599ed98575aec256123de4030f7021cf1786..227a6af2a6beef0ddde7d3e930eaa0fdd9447ed0 100644
(file)
--- a/
lisp/progmodes/cc-mode.el
+++ b/
lisp/progmodes/cc-mode.el
@@
-257,7
+257,7
@@
control). See \"cc-mode.el\" for more info."
;; Set up text conversion, for Emacs >= 30.0
(when (boundp 'post-text-conversion-hook)
- (add-hook 'post-text-conversion-hook #'c-post-text-conversion))
+ (add-hook 'post-text-conversion-hook #'c-post-text-conversion
nil t
))
(unless new-style-init
(c-init-language-vars-for 'c-mode)))