projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2df6093
)
(tex-common-initialization): comment-start-skip shouldn't match on next line.
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Sat, 2 Nov 2002 02:16:36 +0000
(
02:16
+0000)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Sat, 2 Nov 2002 02:16:36 +0000
(
02:16
+0000)
lisp/textmodes/tex-mode.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/tex-mode.el
b/lisp/textmodes/tex-mode.el
index 3715a7dd7c8ca1c18ab20d5e581287de60380b2d..f051359143d887b94da9d109d8b8cb6fa08964bf 100644
(file)
--- a/
lisp/textmodes/tex-mode.el
+++ b/
lisp/textmodes/tex-mode.el
@@
-897,7
+897,7
@@
Entering SliTeX mode runs the hook `text-mode-hook', then the hook
(set (make-local-variable 'comment-start) "%")
(set (make-local-variable 'comment-add) 1)
(set (make-local-variable 'comment-start-skip)
- "\\(\\(^\\|[^\\]\\)\\(\\\\\\\\\\)*\\)\\(%+ *\\)")
+ "\\(\\(^\\|[^\\
\n
]\\)\\(\\\\\\\\\\)*\\)\\(%+ *\\)")
(set (make-local-variable 'parse-sexp-ignore-comments) t)
(set (make-local-variable 'compare-windows-whitespace)
'tex-categorize-whitespace)