diff options
| author | Christopher Schmidt | 2012-04-18 14:20:47 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-04-18 14:20:47 +0800 |
| commit | 0e80650b8bfd4fb5ff0bef8483608144e6972436 (patch) | |
| tree | cd9371bb264f5d47c85d9560d53425c9cf7bc44a /doc | |
| parent | d02766abd72ce34d2e2ece9b7f782238a119278c (diff) | |
| download | emacs-0e80650b8bfd4fb5ff0bef8483608144e6972436.tar.gz emacs-0e80650b8bfd4fb5ff0bef8483608144e6972436.zip | |
Docfix for require-final-newline in Lisp manual.
* doc/lispref/files.texi (Saving Buffers): Document `visit and `visit-save'
values of require-final-newline.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/lispref/files.texi | 12 |
2 files changed, 12 insertions, 5 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index e56317ad70a..264e0cfbe41 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com> | ||
| 2 | |||
| 3 | * files.texi (Saving Buffers): Document `visit and `visit-save' | ||
| 4 | values of require-final-newline. | ||
| 5 | |||
| 1 | 2012-04-18 Glenn Morris <rgm@gnu.org> | 6 | 2012-04-18 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * processes.texi (Output from Processes, Filter Functions): | 8 | * processes.texi (Output from Processes, Filter Functions): |
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index 3e96a448963..062368e810d 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi | |||
| @@ -490,11 +490,13 @@ in particular buffers. | |||
| 490 | @defopt require-final-newline | 490 | @defopt require-final-newline |
| 491 | This variable determines whether files may be written out that do | 491 | This variable determines whether files may be written out that do |
| 492 | @emph{not} end with a newline. If the value of the variable is | 492 | @emph{not} end with a newline. If the value of the variable is |
| 493 | @code{t}, then @code{save-buffer} silently adds a newline at the end of | 493 | @code{t}, then @code{save-buffer} silently adds a newline at the end |
| 494 | the file whenever the buffer being saved does not already end in one. | 494 | of the buffer whenever it does not already end in one. If the value |
| 495 | If the value of the variable is non-@code{nil}, but not @code{t}, then | 495 | is @code{visit}, Emacs adds a missing newline just after it visits the |
| 496 | @code{save-buffer} asks the user whether to add a newline each time the | 496 | file. If the value is @code{visit-save}, Emacs adds a missing newline |
| 497 | case arises. | 497 | both on visiting and on saving. For any other non-@code{nil} value, |
| 498 | @code{save-buffer} asks the user whether to add a newline each time | ||
| 499 | the case arises. | ||
| 498 | 500 | ||
| 499 | If the value of the variable is @code{nil}, then @code{save-buffer} | 501 | If the value of the variable is @code{nil}, then @code{save-buffer} |
| 500 | doesn't add newlines at all. @code{nil} is the default value, but a few | 502 | doesn't add newlines at all. @code{nil} is the default value, but a few |