aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/emacs-lisp/lisp-mode.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el
index 9879b9f5fae..541cbe6f445 100644
--- a/lisp/emacs-lisp/lisp-mode.el
+++ b/lisp/emacs-lisp/lisp-mode.el
@@ -119,7 +119,9 @@
119 (make-local-variable 'comment-start) 119 (make-local-variable 'comment-start)
120 (setq comment-start ";") 120 (setq comment-start ";")
121 (make-local-variable 'comment-start-skip) 121 (make-local-variable 'comment-start-skip)
122 (setq comment-start-skip ";+ *") 122 ;; Look within the line for a ; following an even number of backslashes
123 ;; after either a non-backslash or the line beginning.
124 (setq comment-start-skip "\\(\\(^\\|[^\\\\\n]\\)\\(\\\\\\\\\\)*\\);+ *")
123 (make-local-variable 'comment-column) 125 (make-local-variable 'comment-column)
124 (setq comment-column 40) 126 (setq comment-column 40)
125 (make-local-variable 'comment-indent-function) 127 (make-local-variable 'comment-indent-function)