1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Revert "Allow commenting out white space lines in latex-mode"

This reverts commit 0870ebb3cb.

This was the wrong way to try to fix this -- see bug#55716.
This commit is contained in:
Lars Ingebrigtsen 2022-05-31 20:20:23 +02:00
parent 89404b4f69
commit 6a2cc870d2
2 changed files with 10 additions and 27 deletions

View file

@ -1178,12 +1178,7 @@ subshell is initiated, `tex-shell-hook' is run."
(setq-local outline-regexp latex-outline-regexp)
(setq-local outline-level #'latex-outline-level)
(setq-local forward-sexp-function #'latex-forward-sexp)
(setq-local skeleton-end-hook nil)
(setq-local comment-region-function #'latex--comment-region)
(setq-local comment-style 'plain))
(defun latex--comment-region (beg end &optional arg)
(comment-region-default-1 beg end arg t))
(setq-local skeleton-end-hook nil))
;;;###autoload
(define-derived-mode slitex-mode latex-mode "SliTeX"