summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2000-05-19 21:36:14 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2000-05-19 21:36:14 +0000
commit3f0c3d8b96b1652a53689ccbed922d0c7f83662b (patch)
treeaa0aa9301db7759502805eef33f6d0c23257b298 /lisp/emacs-lisp
parent2b63d473a8b591919f1932ad57088a738afab67b (diff)
downloademacs-3f0c3d8b96b1652a53689ccbed922d0c7f83662b.tar.gz
emacs-3f0c3d8b96b1652a53689ccbed922d0c7f83662b.tar.bz2
emacs-3f0c3d8b96b1652a53689ccbed922d0c7f83662b.zip
(lisp-mode-variables): Set comment-add.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/lisp-mode.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el
index 718cc35d06a..74a0aed7eac 100644
--- a/lisp/emacs-lisp/lisp-mode.el
+++ b/lisp/emacs-lisp/lisp-mode.el
@@ -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)