(lisp-mode-variables): Locally clear adaptive-fill-mode.
This commit is contained in:
parent
c350a31dde
commit
3272c16200
1 changed files with 5 additions and 0 deletions
|
@ -103,6 +103,11 @@
|
|||
(setq paragraph-ignore-fill-prefix t)
|
||||
(make-local-variable 'fill-paragraph-function)
|
||||
(setq fill-paragraph-function 'lisp-fill-paragraph)
|
||||
;; Adaptive fill mode gets in the way of auto-fill,
|
||||
;; and should make no difference for explicit fill
|
||||
;; because lisp-fill-paragraph should do the job.
|
||||
(make-local-variable 'adaptive-fill-mode)
|
||||
(setq adaptive-fill-mode nil)
|
||||
(make-local-variable 'indent-line-function)
|
||||
(setq indent-line-function 'lisp-indent-line)
|
||||
(make-local-variable 'indent-region-function)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue