(lisp-mode-variables): Bind comment-indent-function locally.
This commit is contained in:
parent
a044cd1f02
commit
e3034a95bc
1 changed files with 3 additions and 1 deletions
|
@ -202,6 +202,8 @@
|
|||
(setq comment-column 40)
|
||||
;; Don't get confused by `;' in doc strings when paragraph-filling.
|
||||
(set (make-local-variable 'comment-use-global-state) t)
|
||||
(make-local-variable 'comment-indent-function)
|
||||
(setq comment-indent-function 'lisp-comment-indent)
|
||||
(make-local-variable 'imenu-generic-expression)
|
||||
(setq imenu-generic-expression lisp-imenu-generic-expression)
|
||||
(make-local-variable 'multibyte-syntax-as-symbol)
|
||||
|
@ -714,7 +716,7 @@ which see."
|
|||
(setq debug-on-error new-value))
|
||||
value)))))
|
||||
|
||||
|
||||
;; Used for comment-indent-function in Lisp modes.
|
||||
(defun lisp-comment-indent ()
|
||||
(if (looking-at "\\s<\\s<\\s<")
|
||||
(current-column)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue