[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/emacs-24 r107851: Docfix for require-final-
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/emacs-24 r107851: Docfix for require-final-newline in Lisp manual. |
Date: |
Wed, 18 Apr 2012 14:20:47 +0800 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 107851
author: Christopher Schmidt <address@hidden>
committer: Chong Yidong <address@hidden>
branch nick: emacs-24
timestamp: Wed 2012-04-18 14:20:47 +0800
message:
Docfix for require-final-newline in Lisp manual.
* doc/lispref/files.texi (Saving Buffers): Document `visit and `visit-save'
values of require-final-newline.
modified:
doc/lispref/ChangeLog
doc/lispref/files.texi
=== modified file 'doc/lispref/ChangeLog'
--- a/doc/lispref/ChangeLog 2012-04-18 03:48:43 +0000
+++ b/doc/lispref/ChangeLog 2012-04-18 06:20:47 +0000
@@ -1,3 +1,8 @@
+2012-04-18 Christopher Schmidt <address@hidden>
+
+ * files.texi (Saving Buffers): Document `visit and `visit-save'
+ values of require-final-newline.
+
2012-04-18 Glenn Morris <address@hidden>
* processes.texi (Output from Processes, Filter Functions):
=== modified file 'doc/lispref/files.texi'
--- a/doc/lispref/files.texi 2012-04-08 02:07:16 +0000
+++ b/doc/lispref/files.texi 2012-04-18 06:20:47 +0000
@@ -490,11 +490,13 @@
@defopt require-final-newline
This variable determines whether files may be written out that do
@emph{not} end with a newline. If the value of the variable is
address@hidden, then @code{save-buffer} silently adds a newline at the end of
-the file whenever the buffer being saved does not already end in one.
-If the value of the variable is address@hidden, but not @code{t}, then
address@hidden asks the user whether to add a newline each time the
-case arises.
address@hidden, then @code{save-buffer} silently adds a newline at the end
+of the buffer whenever it does not already end in one. If the value
+is @code{visit}, Emacs adds a missing newline just after it visits the
+file. If the value is @code{visit-save}, Emacs adds a missing newline
+both on visiting and on saving. For any other address@hidden value,
address@hidden asks the user whether to add a newline each time
+the case arises.
If the value of the variable is @code{nil}, then @code{save-buffer}
doesn't add newlines at all. @code{nil} is the default value, but a few
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/emacs-24 r107851: Docfix for require-final-newline in Lisp manual.,
Chong Yidong <=