]> git.eshelyaron.com Git - emacs.git/commit
Hide local variable section in emacs-news-modes
authorStefan Kangas <stefan@marxist.se>
Fri, 12 Aug 2022 20:22:17 +0000 (22:22 +0200)
committerStefan Kangas <stefan@marxist.se>
Fri, 12 Aug 2022 20:28:17 +0000 (22:28 +0200)
commitc4505fed538455a3637a293f10655d31c57ecff7
treee2cf28eae658307fede6f52d3eb54205c2d3281f
parent316d3111a3666237caf86808d53765c8c77a3f53
Hide local variable section in emacs-news-modes

* lisp/textmodes/emacs-authors-mode.el
(emacs-authors-mode--hide-local-variables): Move from here...
* lisp/emacs-lisp/subr-x.el (emacs-etc--hide-local-variables):
...to here.

* lisp/textmodes/emacs-authors-mode.el (subr-x): Require.
(emacs-authors-mode): Use above renamed function.

* lisp/textmodes/emacs-news-mode.el (subr-x): Require.
(emacs-news--mode-common): Call 'emacs-etc--hide-local-variables'
to hide local variables section.
lisp/emacs-lisp/subr-x.el
lisp/textmodes/emacs-authors-mode.el
lisp/textmodes/emacs-news-mode.el