From 6d171ec5887fd0a971529971e73cf32476aa8b53 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 24 Apr 1994 08:33:40 +0000 Subject: (lisp-mode-variables): In comment-start-skip, reject semicolon after a backslash. --- lisp/emacs-lisp/lisp-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/emacs-lisp/lisp-mode.el') 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) -- cgit v1.2.1