# HG changeset patch # User Richard M. Stallman # Date 866775578 0 # Node ID f984a38eda0661322348994ab7fe5fe4b23eea43 # Parent 7def48db254a76bb037c5d3f5f13f7885b3fc379 (require-final-newline): Fix custom :type. diff -r 7def48db254a -r f984a38eda06 lisp/files.el --- 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