Mercurial > emacs
comparison lisp/files.el @ 83301:b151ec53c504
Merged from miles@gnu.org--gnu-2005 (patch 68, 286-291)
Patches applied:
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-286
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-287
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-288
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-289
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-290
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-291
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-68
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-341
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Fri, 06 May 2005 21:06:31 +0000 |
parents | effe22690419 fc75d79da090 |
children | 5ae8a8b0a308 |
comparison
equal
deleted
inserted
replaced
83300:6deb860255f3 | 83301:b151ec53c504 |
---|---|
285 from `mode-require-final-newline'." | 285 from `mode-require-final-newline'." |
286 :type '(choice (const :tag "When visiting" visit) | 286 :type '(choice (const :tag "When visiting" visit) |
287 (const :tag "When saving" t) | 287 (const :tag "When saving" t) |
288 (const :tag "When visiting or saving" visit-save) | 288 (const :tag "When visiting or saving" visit-save) |
289 (const :tag "Don't add newlines" nil) | 289 (const :tag "Don't add newlines" nil) |
290 (other :tag "Ask" ask)) | 290 (other :tag "Ask each time" ask)) |
291 :group 'editing-basics) | 291 :group 'editing-basics) |
292 | 292 |
293 (defcustom mode-require-final-newline t | 293 (defcustom mode-require-final-newline t |
294 "*Whether to add a newline at end of file, in certain major modes. | 294 "*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. | 295 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 | 296 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. | 297 to end in newlines, and the question is how to arrange that. |
298 | 298 |
299 A value of t means do this only when the file is about to be saved. | 299 A value of t means do this only when the file is about to be saved. |
300 A value of `visit' means do this right after the file is visited. | 300 A value of `visit' means do this right after the file is visited. |
301 A value of `visit-save' means do it at both of those times. | 301 A value of `visit-save' means do it at both of those times. |