comparison man/files.texi @ 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 d79558eaaecb
children b95226aa58b9
comparison
equal deleted inserted replaced
36318:130c11089c1d 36319:77c56d3f0b8f
429 notifies you of this fact, because it probably indicates a problem caused 429 notifies you of this fact, because it probably indicates a problem caused
430 by simultaneous editing and requires your immediate attention. 430 by simultaneous editing and requires your immediate attention.
431 @xref{Interlocking,, Simultaneous Editing}. 431 @xref{Interlocking,, Simultaneous Editing}.
432 432
433 @vindex require-final-newline 433 @vindex require-final-newline
434 If the variable @code{require-final-newline} is non-@code{nil}, Emacs 434 If the value of the variable @code{require-final-newline} is @code{t},
435 puts a newline at the end of any file that doesn't already end in one, 435 Emacs silently puts a newline at the end of any file that doesn't
436 every time a file is saved or written. The default is @code{nil}. 436 already end in one, every time a file is saved or written. If the value
437 is @code{nil}, Emacs leaves the end of the file unchanged; if it's
438 neither @code{nil} nor @code{t}, Emacs asks you whether to add a
439 newline. The default is @code{nil}.
437 440
438 @menu 441 @menu
439 * Backup:: How Emacs saves the old version of your file. 442 * Backup:: How Emacs saves the old version of your file.
440 * Interlocking:: How Emacs protects against simultaneous editing 443 * Interlocking:: How Emacs protects against simultaneous editing
441 of one file by two users. 444 of one file by two users.