]> git.eshelyaron.com Git - emacs.git/commitdiff
(Saving): Update the documentation of require-final-newline.
authorEli Zaretskii <eliz@gnu.org>
Fri, 23 Feb 2001 10:25:13 +0000 (10:25 +0000)
committerEli Zaretskii <eliz@gnu.org>
Fri, 23 Feb 2001 10:25:13 +0000 (10:25 +0000)
Suggested by Nelson H. F. Beebe <beebe@math.utah.edu>.

man/files.texi

index 1c04ed31394ce32d952706f5824bf3abaa5316d5..9c22cad52b53cccf9e5a7c77f34f5be7bd4e2963 100644 (file)
@@ -431,9 +431,12 @@ by simultaneous editing and requires your immediate attention.
 @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.