projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
246f050
)
tex-mode: paragraph separator groups text and comments
author
Michael Orlitzky
<michael@orlitzky.com>
Sat, 16 Nov 2019 07:15:48 +0000
(08:15 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 16 Nov 2019 07:15:48 +0000
(08:15 +0100)
* lisp/textmodes/tex-mode.el (latex-mode): Don't wrap text with
leading spaces into preceding comments (bug#38152).
Copyright-paperwork-exempt: yes
lisp/textmodes/tex-mode.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/tex-mode.el
b/lisp/textmodes/tex-mode.el
index 9b92a2fc60e956619edd10239c39a2fb5ae5a9b0..5f2c7ee9feadb4ab7d4e6b2274da8716c7752806 100644
(file)
--- a/
lisp/textmodes/tex-mode.el
+++ b/
lisp/textmodes/tex-mode.el
@@
-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)