Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
8ad50a34
Commit
8ad50a34
authored
Jun 30, 2018
by
Eli Zaretskii
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
; * lisp/files.el (buffer-offer-save): Doc fix. (Bug#32000)
parent
c80f31f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
lisp/files.el
lisp/files.el
+6
-2
No files found.
lisp/files.el
View file @
8ad50a34
...
...
@@ -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 exit
ing 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
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment