emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/man/files.texi


From: Richard M . Stallman
Subject: [Emacs-diffs] Changes to emacs/man/files.texi
Date: Fri, 31 Dec 2004 10:37:22 -0500

Index: emacs/man/files.texi
diff -c emacs/man/files.texi:1.93 emacs/man/files.texi:1.94
*** emacs/man/files.texi:1.93   Fri Nov 19 15:14:13 2004
--- emacs/man/files.texi        Fri Dec 31 15:04:13 2004
***************
*** 464,475 ****
  @xref{Interlocking,, Simultaneous Editing}.
  
  @vindex require-final-newline
!   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.
--- 464,486 ----
  @xref{Interlocking,, Simultaneous Editing}.
  
  @vindex require-final-newline
!   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{visit}, Emacs adds a newline at the end of any file
! that doesn't have one, just after it visits the file.  (This marks the
! buffer as modified, and you can undo it.)  If the value is
! @code{visit-save}, that means to add newlines both on visiting and on
! saving.  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}.
! 
! @vindex mode-require-final-newline
!   Many major modes are designed for specific kinds of files that are
! always supposed to end in newlines.  These major modes set the
! variable @code{require-final-newline} according to
! @code{mode-require-final-newline}.  By setting the latter variable,
! you can control how these modes handle final newlines.
  
  @menu
  * Backup::              How Emacs saves the old version of your file.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]