aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorMichael Orlitzky2019-11-16 08:15:48 +0100
committerLars Ingebrigtsen2019-11-16 08:15:48 +0100
commitd03915650e110b0241d44f8283d665506455aed6 (patch)
treedd473203b52cfa70a865ea7195065a11ae4fff80 /lisp/textmodes
parent246f050ab4ba0ec9b12f03ddfa7ee3f74030f850 (diff)
downloademacs-d03915650e110b0241d44f8283d665506455aed6.tar.gz
emacs-d03915650e110b0241d44f8283d665506455aed6.zip
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
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/tex-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index 9b92a2fc60e..5f2c7ee9fea 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -1153,7 +1153,7 @@ subshell is initiated, `tex-shell-hook' is run."
1153 "\\>\\|\\\\[a-z]*" (regexp-opt '("space" "skip" "page") t) 1153 "\\>\\|\\\\[a-z]*" (regexp-opt '("space" "skip" "page") t)
1154 "\\>\\)")) 1154 "\\>\\)"))
1155 (setq paragraph-separate 1155 (setq paragraph-separate
1156 (concat "[\f%]\\|[ \t]*\\($\\|" 1156 (concat "\\([ \t]*%\\)\\|[\f]\\|[ \t]*\\($\\|"
1157 "\\\\[][]\\|" 1157 "\\\\[][]\\|"
1158 "\\\\" (regexp-opt (append 1158 "\\\\" (regexp-opt (append
1159 (mapcar #'car latex-section-alist) 1159 (mapcar #'car latex-section-alist)