[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 2a41fe2: require-final-newline doc string clarifica
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master 2a41fe2: require-final-newline doc string clarification |
Date: |
Mon, 14 Oct 2019 16:49:33 -0400 (EDT) |
branch: master
commit 2a41fe2eaf422fbd50c7c663eaa566f3801b97cf
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
require-final-newline doc string clarification
* lisp/files.el (require-final-newline): Mention that the variable
applies to visited files (bug#34986).
---
lisp/files.el | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/lisp/files.el b/lisp/files.el
index 68a1284..9f22210 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -337,7 +337,11 @@ Any other non-nil value means ask user whether to add a
newline, when saving.
A value of nil means don't add newlines.
Certain major modes set this locally to the value obtained
-from `mode-require-final-newline'."
+from `mode-require-final-newline'.
+
+This variable is only heeded when visiting files (or saving
+visited files). Writing data to the file system with
+`write-region' and the like is not influenced by this variable."
:safe #'symbolp
:type '(choice (const :tag "When visiting" visit)
(const :tag "When saving" t)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 2a41fe2: require-final-newline doc string clarification,
Lars Ingebrigtsen <=