changeset 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 7def48db254a
children 33e78cc7f058
files lisp/files.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
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