]> git.eshelyaron.com Git - emacs.git/commitdiff
(lisp-mode-variables): Set comment-add.
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 19 May 2000 21:36:14 +0000 (21:36 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 19 May 2000 21:36:14 +0000 (21:36 +0000)
lisp/emacs-lisp/lisp-mode.el

index 718cc35d06a5210bee7dcc3710b76b5e297ae7dc..74a0aed7eacead3138679691d875a72aa17818e4 100644 (file)
@@ -130,6 +130,8 @@ ine-condition\\|ine-widget\\|face\\)\\s-+'?\\(\\sw\\(\\sw\\|\\s_\\)+\\)")
   ;; 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)