changeset 28994:0388cb689633

(lisp-mode-variables): Set comment-add.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 19 May 2000 21:36:14 +0000
parents 48c4612cf753
children 93c16141d107
files lisp/emacs-lisp/lisp-mode.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/lisp-mode.el	Fri May 19 20:37:34 2000 +0000
+++ b/lisp/emacs-lisp/lisp-mode.el	Fri May 19 21:36:14 2000 +0000
@@ -130,6 +130,8 @@
   ;; Look within the line for a ; following an even number of backslashes
   ;; after either a non-backslash or the line beginning.
   (setq comment-start-skip "\\(\\(^\\|[^\\\\\n]\\)\\(\\\\\\\\\\)*\\);+ *")
+  (make-local-variable 'comment-add)
+  (setq comment-add 1)			;default to `;;' in comment-region
   (make-local-variable 'comment-column)
   (setq comment-column 40)
   (make-local-variable 'comment-indent-function)