[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master eb6708f0ac1: (c-initialize-cc-mode): Be slightly more explicit
From: |
Stefan Monnier |
Subject: |
master eb6708f0ac1: (c-initialize-cc-mode): Be slightly more explicit |
Date: |
Fri, 27 Oct 2023 21:17:47 -0400 (EDT) |
branch: master
commit eb6708f0ac129f2faee31b1f5517641ffb38fcdf
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
(c-initialize-cc-mode): Be slightly more explicit
* 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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el
index 8dea599ed98..227a6af2a6b 100644
--- 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)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master eb6708f0ac1: (c-initialize-cc-mode): Be slightly more explicit,
Stefan Monnier <=