]> git.eshelyaron.com Git - emacs.git/commitdiff
(lisp-mode-variables): In comment-start-skip,
authorRichard M. Stallman <rms@gnu.org>
Sun, 24 Apr 1994 08:33:40 +0000 (08:33 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 24 Apr 1994 08:33:40 +0000 (08:33 +0000)
reject semicolon after a backslash.

lisp/emacs-lisp/lisp-mode.el

index a488b954422b75e9a87cd7ec5aa7ceab551f468a..566a1053555bdbc9b38bc4577fe5a7d490d13b57 100644 (file)
   (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)