mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
tex-mode: paragraph separator groups text and comments
* lisp/textmodes/tex-mode.el (latex-mode): Don't wrap text with leading spaces into preceding comments (bug#38152). Copyright-paperwork-exempt: yes
This commit is contained in:
parent
246f050ab4
commit
d03915650e
1 changed files with 1 additions and 1 deletions
|
|
@ -1153,7 +1153,7 @@ subshell is initiated, `tex-shell-hook' is run."
|
|||
"\\>\\|\\\\[a-z]*" (regexp-opt '("space" "skip" "page") t)
|
||||
"\\>\\)"))
|
||||
(setq paragraph-separate
|
||||
(concat "[\f%]\\|[ \t]*\\($\\|"
|
||||
(concat "\\([ \t]*%\\)\\|[\f]\\|[ \t]*\\($\\|"
|
||||
"\\\\[][]\\|"
|
||||
"\\\\" (regexp-opt (append
|
||||
(mapcar #'car latex-section-alist)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue