emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/files.el


From: Richard M . Stallman
Subject: [Emacs-diffs] Changes to emacs/lisp/files.el
Date: Sun, 24 Apr 2005 17:29:15 -0400

Index: emacs/lisp/files.el
diff -c emacs/lisp/files.el:1.760 emacs/lisp/files.el:1.761
*** emacs/lisp/files.el:1.760   Sun Apr 24 14:50:42 2005
--- emacs/lisp/files.el Sun Apr 24 21:29:15 2005
***************
*** 286,292 ****
    :type '(choice (const :tag "When visiting" visit)
                 (const :tag "When saving" t)
                 (const :tag "When visiting or saving" visit-save)
!                (const :tag "Never" nil)
                 (other :tag "Ask" ask))
    :group 'editing-basics)
  
--- 286,292 ----
    :type '(choice (const :tag "When visiting" visit)
                 (const :tag "When saving" t)
                 (const :tag "When visiting or saving" visit-save)
!                (const :tag "Don't add newlines" nil)
                 (other :tag "Ask" ask))
    :group 'editing-basics)
  
***************
*** 300,314 ****
  A value of `visit' means do this right after the file is visited.
  A value of `visit-save' means do it at both of those times.
  Any other non-nil value means ask user whether to add a newline, when saving.
- nil means do not add newlines when saving.
  
! If you set this to nil, you must be careful to manually add a final newline
! whenever you save a file that really needs one."
    :type '(choice (const :tag "When visiting" visit)
                 (const :tag "When saving" t)
                 (const :tag "When visiting or saving" visit-save)
!                (other :tag "Ask" ask)
!                (const :tag "Don't add newlines" nil))
    :group 'editing-basics
    :version "22.1")
  
--- 300,315 ----
  A value of `visit' means do this right after the file is visited.
  A value of `visit-save' means do it at both of those times.
  Any other non-nil value means ask user whether to add a newline, when saving.
  
! nil means do not add newlines.  That is a risky choice in this variable
! since this value is used for modes for files that ought to have final 
newlines.
! So if you set this to nil, you must explicitly check and add
! a final newline, whenever you save a file that really needs one."
    :type '(choice (const :tag "When visiting" visit)
                 (const :tag "When saving" t)
                 (const :tag "When visiting or saving" visit-save)
!                (const :tag "Don't add newlines" nil)
!                (other :tag "Ask each time" ask))
    :group 'editing-basics
    :version "22.1")
  




reply via email to

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