]> git.eshelyaron.com Git - emacs.git/commit
Accept new `always' value for option `buffer-offer-save'
authorEric Abrahamsen <eric@ericabrahamsen.net>
Sun, 24 Sep 2017 21:01:21 +0000 (14:01 -0700)
committerEric Abrahamsen <eric@ericabrahamsen.net>
Sun, 24 Sep 2017 21:57:40 +0000 (14:57 -0700)
commit3d3778d82a87139ef50a24146f5bad2a57a82094
tree3de6a894ff4142d733646a5e0b8fcfed887ed088
parent638f64c40a678c26d78a7d7279e6356e6e92f3fd
Accept new `always' value for option `buffer-offer-save'

Also revert ee512e9a82

* lisp/files.el (buffer-offer-save): In addition to nil and t, now
  allows a third symbol value, `always'. A buffer where this option is
  set to `always' will always be offered for save by
  `save-some-buffers'.
  (save-some-buffers): Check the exact value of this buffer-local
  variable. No longer check the buffer name, or the value of
  `write-contents-functions'.
* doc/lispref/buffers.texi (Killing Buffers): Note change in manual.
* doc/lispref/files.texi (Saving Buffers): Remove note about buffer
  names.
* etc/NEWS: Mention in NEWS.
doc/lispref/buffers.texi
doc/lispref/files.texi
etc/NEWS
lisp/files.el