mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-21 06:55:39 +00:00
Improve 'C-h o' in NEWS files
* lisp/textmodes/emacs-news-mode.el (emacs-news--mode-common): Modify syntax-table of NEWS modes to consider ' as string-quoting character. Suggested by Visuwesh <visuweshm@gmail.com>. (Bug#72757)
This commit is contained in:
parent
dffdbc1f1f
commit
5cb2185966
@ -106,6 +106,8 @@
|
||||
outline-minor-mode-use-buttons 'in-margins)
|
||||
(outline-minor-mode)
|
||||
(setq-local imenu-generic-expression outline-imenu-generic-expression)
|
||||
;; This is so 'C-h o' picks up correctly symbols quoted 'like this'.
|
||||
(modify-syntax-entry ?' "\"")
|
||||
(emacs-etc--hide-local-variables))
|
||||
|
||||
;;;###autoload
|
||||
|
Loading…
Reference in New Issue
Block a user