]> git.eshelyaron.com Git - emacs.git/commit
Use lexical-binding in text-mode.el
authorBasil L. Contovounesios <contovob@tcd.ie>
Mon, 18 Mar 2019 23:45:55 +0000 (23:45 +0000)
committerBasil L. Contovounesios <contovob@tcd.ie>
Sun, 31 Mar 2019 21:27:21 +0000 (22:27 +0100)
commit4c9950d015fdb520d29f04c6b1eb7418a442fc60
tree209c3f339546ea11ad206abf91622e2938ba1d5d
parent07d7852b00dc0c91f2450856ac27c17eea7a3e1a
Use lexical-binding in text-mode.el

* lisp/textmodes/text-mode.el: Use lexical-binding.
(text-mode, paragraph-indent-minor-mode, text-mode-hook-identify):
Use setq-local.
(toggle-text-mode-auto-fill): Quote function symbols as such.
(center-line): Minor simplification.
* doc/lispref/modes.texi (Example Major Modes): Update code example
for these changes to text-mode.
doc/lispref/modes.texi
lisp/textmodes/text-mode.el