]> git.eshelyaron.com Git - emacs.git/commit
Allow commenting out white space lines in latex-mode
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 28 Jan 2021 06:09:18 +0000 (07:09 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 28 Jan 2021 06:09:18 +0000 (07:09 +0100)
commit0870ebb3cbfcb097d85eea5eacaf992dd88ed204
treeda7970460e8e52b6335e54426fdcfbf26b220ffe
parente4c667079086528c6e0a9eead9c2d4d5f5b7c6e1
Allow commenting out white space lines in latex-mode

* lisp/newcomment.el (comment-region-default-1): Allow commenting
out whitespace-only regions (bug#41793).

* lisp/textmodes/tex-mode.el (latex--comment-region): Use it.
(latex-mode): Set a comment style shim.
lisp/newcomment.el
lisp/textmodes/tex-mode.el