summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-04-24 08:33:40 +0000
committerRichard M. Stallman <rms@gnu.org>1994-04-24 08:33:40 +0000
commit5dcaa9baed38bc09400d7806c6c50edefecfb2fb (patch)
treed4aaa06bdb806378ecdc1d351bcc85a03173df31 /lisp/emacs-lisp
parentc09655bc3cb490cda5eef6414974c36e311136e1 (diff)
downloademacs-5dcaa9baed38bc09400d7806c6c50edefecfb2fb.tar.gz
emacs-5dcaa9baed38bc09400d7806c6c50edefecfb2fb.tar.bz2
emacs-5dcaa9baed38bc09400d7806c6c50edefecfb2fb.zip
(lisp-mode-variables): In comment-start-skip,
reject semicolon after a backslash.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/lisp-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el
index a488b954422..566a1053555 100644
--- a/lisp/emacs-lisp/lisp-mode.el
+++ b/lisp/emacs-lisp/lisp-mode.el
@@ -100,7 +100,7 @@
(make-local-variable 'comment-start)
(setq comment-start ";")
(make-local-variable 'comment-start-skip)
- (setq comment-start-skip ";+ *")
+ (setq comment-start-skip "\\(^;\\|[^\\];\\) *")
(make-local-variable 'comment-column)
(setq comment-column 40)
(make-local-variable 'comment-indent-function)