aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Teirlinck2005-05-01 12:56:42 +0000
committerLuc Teirlinck2005-05-01 12:56:42 +0000
commit0776da52f9847af9ec39840912763a5ee469f383 (patch)
tree3f32e99eb5102247992abd747c3717690718000b
parenta87fdbbdb8ddd308522452fc9b7c91dd8a4cb648 (diff)
downloademacs-0776da52f9847af9ec39840912763a5ee469f383.tar.gz
emacs-0776da52f9847af9ec39840912763a5ee469f383.zip
(require-final-newline): Make Custom tags consistent
with mode-require-final-newline. (mode-require-final-newline): Doc fix.
-rw-r--r--lisp/files.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/files.el b/lisp/files.el
index a2b74f8273e..ea4799968fe 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -287,13 +287,13 @@ from `mode-require-final-newline'."
287 (const :tag "When saving" t) 287 (const :tag "When saving" t)
288 (const :tag "When visiting or saving" visit-save) 288 (const :tag "When visiting or saving" visit-save)
289 (const :tag "Don't add newlines" nil) 289 (const :tag "Don't add newlines" nil)
290 (other :tag "Ask" ask)) 290 (other :tag "Ask each time" ask))
291 :group 'editing-basics) 291 :group 'editing-basics)
292 292
293(defcustom mode-require-final-newline t 293(defcustom mode-require-final-newline t
294 "*Whether to add a newline at end of file, in certain major modes. 294 "*Whether to add a newline at end of file, in certain major modes.
295Those modes set `require-final-newline' to this value when you enable them. 295Those modes set `require-final-newline' to this value when you enable them.
296They do so because they are used for files that are supposed 296They do so because they are often used for files that are supposed
297to end in newlines, and the question is how to arrange that. 297to end in newlines, and the question is how to arrange that.
298 298
299A value of t means do this only when the file is about to be saved. 299A value of t means do this only when the file is about to be saved.