diff options
| author | Stefan Monnier | 2023-10-27 21:17:38 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2023-10-27 21:17:38 -0400 |
| commit | eb6708f0ac129f2faee31b1f5517641ffb38fcdf (patch) | |
| tree | 5e52e93b989a11cf936dfbf75b9f0803ceb8d156 | |
| parent | 81510f2fff5e61c6fca359e01870139f1302e1ed (diff) | |
| download | emacs-eb6708f0ac129f2faee31b1f5517641ffb38fcdf.tar.gz emacs-eb6708f0ac129f2faee31b1f5517641ffb38fcdf.zip | |
(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".
| -rw-r--r-- | lisp/progmodes/cc-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
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." | |||
| 257 | 257 | ||
| 258 | ;; Set up text conversion, for Emacs >= 30.0 | 258 | ;; Set up text conversion, for Emacs >= 30.0 |
| 259 | (when (boundp 'post-text-conversion-hook) | 259 | (when (boundp 'post-text-conversion-hook) |
| 260 | (add-hook 'post-text-conversion-hook #'c-post-text-conversion)) | 260 | (add-hook 'post-text-conversion-hook #'c-post-text-conversion nil t)) |
| 261 | 261 | ||
| 262 | (unless new-style-init | 262 | (unless new-style-init |
| 263 | (c-init-language-vars-for 'c-mode))) | 263 | (c-init-language-vars-for 'c-mode))) |