changeset 7079:5b975a51928f

(lisp-mode-variables): In comment-start-skip, reject semicolon after a backslash.
author Richard M. Stallman <rms@gnu.org>
date Sun, 24 Apr 1994 08:33:40 +0000
parents cf120e7b7d2c
children 4751ee5f263e
files lisp/emacs-lisp/lisp-mode.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/lisp-mode.el	Sun Apr 24 08:32:32 1994 +0000
+++ b/lisp/emacs-lisp/lisp-mode.el	Sun Apr 24 08:33:40 1994 +0000
@@ -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)