Commit 56973319 authored by Leo Liu's avatar Leo Liu
Browse files

* files.el (require-final-newline): Allow safe local value.

Fixes: debbugs:14834
parent 2aae948d
2013-07-10 Leo Liu <>
* files.el (require-final-newline): Allow safe local value.
2013-07-09 Leo Liu <>
* ido.el (ido-read-directory-name): Handle fallback.
......@@ -316,12 +316,14 @@ A value of nil means don't add newlines.
Certain major modes set this locally to the value obtained
from `mode-require-final-newline'."
:safe #'symbolp
:type '(choice (const :tag "When visiting" visit)
(const :tag "When saving" t)
(const :tag "When visiting or saving" visit-save)
(const :tag "Don't add newlines" nil)
(other :tag "Ask each time" ask))
:group 'editing-basics)
:group 'editing-basics
:version "24.4")
(defcustom mode-require-final-newline t
"Whether to add a newline at end of file, in certain major modes.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment