From: Stefan Monnier Date: Fri, 19 May 2000 21:36:14 +0000 (+0000) Subject: (lisp-mode-variables): Set comment-add. X-Git-Tag: emacs-pretest-21.0.90~3892 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3f0c3d8b96b1652a53689ccbed922d0c7f83662b;p=emacs.git (lisp-mode-variables): Set comment-add. --- 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)