diff options
author | Richard M. Stallman <rms@gnu.org> | 1994-04-24 08:33:40 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1994-04-24 08:33:40 +0000 |
commit | 5dcaa9baed38bc09400d7806c6c50edefecfb2fb (patch) | |
tree | d4aaa06bdb806378ecdc1d351bcc85a03173df31 /lisp/emacs-lisp/lisp-mode.el | |
parent | c09655bc3cb490cda5eef6414974c36e311136e1 (diff) | |
download | emacs-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/lisp-mode.el')
-rw-r--r-- | lisp/emacs-lisp/lisp-mode.el | 2 |
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) |