diff lisp/files.el @ 18340:f984a38eda06

(require-final-newline): Fix custom :type.
author Richard M. Stallman <rms@gnu.org>
date Fri, 20 Jun 1997 02:59:38 +0000
parents 435e940cf31e
children 535a18a6b623
line wrap: on
line diff
--- a/lisp/files.el	Fri Jun 20 02:23:12 1997 +0000
+++ b/lisp/files.el	Fri Jun 20 02:59:38 1997 +0000
@@ -220,7 +220,9 @@
   "*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