Default lisp-mode to use Common Lisp indentation
* lisp/emacs-lisp/lisp-mode.el (lisp-mode): Use common-lisp-indent-function instead of lisp-indent-function as Common Lisp is the most common non-Emacs Lisp today (bug#10097).
This commit is contained in:
parent
e88eed95a9
commit
0c9da50e96
2 changed files with 6 additions and 0 deletions
|
@ -747,6 +747,7 @@ Blank lines separate paragraphs. Semicolons start comments.
|
|||
Note that `run-lisp' may be used either to start an inferior Lisp job
|
||||
or to switch back to an existing one."
|
||||
(lisp-mode-variables nil t)
|
||||
(setq-local lisp-indent-function 'common-lisp-indent-function)
|
||||
(setq-local find-tag-default-function 'lisp-find-tag-default)
|
||||
(setq-local comment-start-skip
|
||||
"\\(\\(^\\|[^\\\\\n]\\)\\(\\\\\\\\\\)*\\)\\(;+\\|#|\\) *")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue