(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".
This commit is contained in:
Stefan Monnier 2023-10-27 21:17:38 -04:00
parent 81510f2fff
commit eb6708f0ac

View file

@ -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)))