[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 8ad50a3: ; * lisp/files.el (buffer-offer-save): D
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-26 8ad50a3: ; * lisp/files.el (buffer-offer-save): Doc fix. (Bug#32000) |
Date: |
Sat, 30 Jun 2018 05:55:12 -0400 (EDT) |
branch: emacs-26
commit 8ad50a34e5b9a7ebb7a1f52b3c0a3b7e3570e40b
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
; * lisp/files.el (buffer-offer-save): Doc fix. (Bug#32000)
---
lisp/files.el | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/lisp/files.el b/lisp/files.el
index d0b7285..fb8c34b 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -148,12 +148,16 @@ This variable is relevant only if `backup-by-copying' and
Called with an absolute file name as argument, it returns t to enable backup.")
(defcustom buffer-offer-save nil
- "Non-nil in a buffer means always offer to save buffer on exit.
+ "Non-nil in a buffer means always offer to save buffer on exiting Emacs.
Do so even if the buffer is not visiting a file.
Automatically local in all buffers.
Set to the symbol `always' to offer to save buffer whenever
-`save-some-buffers' is called."
+`save-some-buffers' is called.
+
+Note that this option has no effect on `kill-buffer';
+if you want to control what happens when a buffer is killed,
+use `kill-buffer-query-functions'."
:type '(choice (const :tag "Never" nil)
(const :tag "On Emacs exit" t)
(const :tag "Whenever save-some-buffers is called" always))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 8ad50a3: ; * lisp/files.el (buffer-offer-save): Doc fix. (Bug#32000),
Eli Zaretskii <=