diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2022-05-03 15:35:47 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2022-05-03 15:35:47 -0400 |
commit | b5db5a64435b86de6e5277d1d173c57784783e5e (patch) | |
tree | 10916f81c997ea3c580a36a65297cfb357b68907 /lisp/emacs-lisp/derived.el | |
parent | 8a7db868cc28f933bc2fb2739d122ed11c9ec872 (diff) | |
download | emacs-b5db5a64435b86de6e5277d1d173c57784783e5e.tar.gz emacs-b5db5a64435b86de6e5277d1d173c57784783e5e.tar.bz2 emacs-b5db5a64435b86de6e5277d1d173c57784783e5e.zip |
with-buffer-unmodified-if-unchanged: Tweak the implementation
* lisp/emacs-lisp/subr-x.el (with-buffer-unmodified-if-unchanged):
Skip the hash if the buffer was not modified at all.
Use `restore-buffer-modified-p`.
Also mention that it's imperative that the current buffer is preserved.
Diffstat (limited to 'lisp/emacs-lisp/derived.el')
0 files changed, 0 insertions, 0 deletions