1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00
emacs/doc
Eric Abrahamsen 9b980e2691 Allow write-contents-functions to short-circuit buffer save
Bug#28412

* lisp/files.el (basic-save-buffer): Re-arrange function so that
  write-contents-functions are run earlier. If they return non-nil,
  consider the buffer saved without requiring the buffer to be
  visiting a file.
  (save-some-buffers): This function should consider any buffer with a
  buffer-local value for write-contents-functions eligible for
  saving.
* test/lisp/files-tests.el (files-test-no-file-write-contents): New
  test.
* doc/lispref/files.texi (Saving Buffers): Mention in docs.
* etc/NEWS: And in NEWS.
2017-09-12 16:06:12 -07:00
..
emacs Fix minor typos in the Emacs manual 2017-09-12 19:28:41 +03:00
lispintro Allow occur command to operate on the region 2017-02-02 19:13:05 +09:00
lispref Allow write-contents-functions to short-circuit buffer save 2017-09-12 16:06:12 -07:00
man Add support for arguments in emacsclient's ALTERNATE_EDITOR (Bug #25082) 2017-08-30 21:59:38 +01:00
misc Tweak Gnus doc re gnus-copy-file 2017-09-12 12:18:07 -07:00