aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1997-06-20 02:59:38 +0000
committerRichard M. Stallman <[email protected]>1997-06-20 02:59:38 +0000
commitad375092241e172a19dd721fc6add396882c0ce6 (patch)
tree52b5082fdff8db1aca8af4dfdb9817f211612b0b /lisp
parente78ea3db1b66c6ee6756d78cd0d48cb45d082076 (diff)
(require-final-newline): Fix custom :type.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/files.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 85fe7c24d7..93ca1c7d27 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -220,7 +220,9 @@ Includes the new backup. Must be > 0"
"*Value of t says silently ensure a file ends in a newline when it is saved.
Non-nil but not t says ask user whether to add a newline when there isn't one.
nil means don't add newlines."
- :type 'boolean
+ :type '(choice (const :tag "Off" nil)
+ (const :tag "Add" t)
+ (sexp :tag "Ask" :format "%t\n" ask))
:group 'editing-basics)
(defcustom auto-save-default t