changeset 36319:77c56d3f0b8f

(Saving): Update the documentation of require-final-newline. Suggested by Nelson H. F. Beebe <beebe@math.utah.edu>.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 23 Feb 2001 10:25:13 +0000
parents 130c11089c1d
children 237695999018
files man/files.texi
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/man/files.texi	Fri Feb 23 10:23:08 2001 +0000
+++ b/man/files.texi	Fri Feb 23 10:25:13 2001 +0000
@@ -431,9 +431,12 @@
 @xref{Interlocking,, Simultaneous Editing}.
 
 @vindex require-final-newline
-  If the variable @code{require-final-newline} is non-@code{nil}, Emacs
-puts a newline at the end of any file that doesn't already end in one,
-every time a file is saved or written.  The default is @code{nil}.
+  If the value of the variable @code{require-final-newline} is @code{t},
+Emacs silently puts a newline at the end of any file that doesn't
+already end in one, every time a file is saved or written.  If the value
+is @code{nil}, Emacs leaves the end of the file unchanged; if it's
+neither @code{nil} nor @code{t}, Emacs asks you whether to add a
+newline.  The default is @code{nil}.
 
 @menu
 * Backup::              How Emacs saves the old version of your file.