diff options
| author | Lars Ingebrigtsen | 2019-10-14 22:49:22 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-10-14 22:49:27 +0200 |
| commit | 2a41fe2eaf422fbd50c7c663eaa566f3801b97cf (patch) | |
| tree | e6a9082b3060016df9f312b58fc1bd08de474c9d | |
| parent | 674515dd75aea441bc8847a73da18ddd303668e1 (diff) | |
| download | emacs-2a41fe2eaf422fbd50c7c663eaa566f3801b97cf.tar.gz emacs-2a41fe2eaf422fbd50c7c663eaa566f3801b97cf.zip | |
require-final-newline doc string clarification
* lisp/files.el (require-final-newline): Mention that the variable
applies to visited files (bug#34986).
| -rw-r--r-- | lisp/files.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el index 68a1284b386..9f22210e2a0 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. | |||
| 337 | A value of nil means don't add newlines. | 337 | A value of nil means don't add newlines. |
| 338 | 338 | ||
| 339 | Certain major modes set this locally to the value obtained | 339 | Certain major modes set this locally to the value obtained |
| 340 | from `mode-require-final-newline'." | 340 | from `mode-require-final-newline'. |
| 341 | |||
| 342 | This variable is only heeded when visiting files (or saving | ||
| 343 | visited files). Writing data to the file system with | ||
| 344 | `write-region' and the like is not influenced by this variable." | ||
| 341 | :safe #'symbolp | 345 | :safe #'symbolp |
| 342 | :type '(choice (const :tag "When visiting" visit) | 346 | :type '(choice (const :tag "When visiting" visit) |
| 343 | (const :tag "When saving" t) | 347 | (const :tag "When saving" t) |