Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
18339:7def48db254a | 18340:f984a38eda06 |
---|---|
218 | 218 |
219 (defcustom require-final-newline nil | 219 (defcustom require-final-newline nil |
220 "*Value of t says silently ensure a file ends in a newline when it is saved. | 220 "*Value of t says silently ensure a file ends in a newline when it is saved. |
221 Non-nil but not t says ask user whether to add a newline when there isn't one. | 221 Non-nil but not t says ask user whether to add a newline when there isn't one. |
222 nil means don't add newlines." | 222 nil means don't add newlines." |
223 :type 'boolean | 223 :type '(choice (const :tag "Off" nil) |
224 (const :tag "Add" t) | |
225 (sexp :tag "Ask" :format "%t\n" ask)) | |
224 :group 'editing-basics) | 226 :group 'editing-basics) |
225 | 227 |
226 (defcustom auto-save-default t | 228 (defcustom auto-save-default t |
227 "*Non-nil says by default do auto-saving of every file-visiting buffer." | 229 "*Non-nil says by default do auto-saving of every file-visiting buffer." |
228 :type 'boolean | 230 :type 'boolean |