/[emacs]/emacs/lisp/files.el
ViewVC logotype

Diff of /emacs/lisp/files.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.762 by rms, Sat Apr 30 20:14:32 2005 UTC revision 1.763 by teirllm, Sun May 1 12:56:42 2005 UTC
# Line 287  from `mode-require-final-newline'." Line 287  from `mode-require-final-newline'."
287                   (const :tag "When saving" t)                   (const :tag "When saving" t)
288                   (const :tag "When visiting or saving" visit-save)                   (const :tag "When visiting or saving" visit-save)
289                   (const :tag "Don't add newlines" nil)                   (const :tag "Don't add newlines" nil)
290                   (other :tag "Ask" ask))                   (other :tag "Ask each time" ask))
291    :group 'editing-basics)    :group 'editing-basics)
292    
293  (defcustom mode-require-final-newline t  (defcustom mode-require-final-newline t
294    "*Whether to add a newline at end of file, in certain major modes.    "*Whether to add a newline at end of file, in certain major modes.
295  Those modes set `require-final-newline' to this value when you enable them.  Those modes set `require-final-newline' to this value when you enable them.
296  They do so because they are used for files that are supposed  They do so because they are often used for files that are supposed
297  to end in newlines, and the question is how to arrange that.  to end in newlines, and the question is how to arrange that.
298    
299  A value of t means do this only when the file is about to be saved.  A value of t means do this only when the file is about to be saved.

Legend:
Removed from v.1.762  
changed lines
  Added in v.1.763

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26