Enable text conversion in conf-modes

* lisp/textmodes/conf-mode.el (conf-mode-initialize): Set
text-conversion-style.
This commit is contained in:
Po Lu 2023-06-18 10:26:13 +08:00
parent 8412581f08
commit 3f90818be6

View file

@ -435,6 +435,7 @@ The optional arg FONT-LOCK is the value for FONT-LOCK-KEYWORDS."
(setq-local comment-start comment)
(setq-local comment-start-skip
(concat (regexp-quote comment-start) "+\\s *"))
(setq-local text-conversion-style t)
(if font-lock
(setq-local font-lock-defaults `(,font-lock nil t nil nil))))