diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-07-19 18:23:07 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-07-19 18:23:11 +0200 |
commit | 514398c66576162c6bf5d8bd1d0ae3d2c6b83b49 (patch) | |
tree | 616fd78e09e4cee94579dd8617985bfc05f11452 /test/src/buffer-tests.el | |
parent | 95e31a1a328a7548efa76befa74d430925ca7f6d (diff) | |
download | emacs-514398c66576162c6bf5d8bd1d0ae3d2c6b83b49.tar.gz emacs-514398c66576162c6bf5d8bd1d0ae3d2c6b83b49.tar.bz2 emacs-514398c66576162c6bf5d8bd1d0ae3d2c6b83b49.zip |
Add inhibit-buffer-hooks to `make-indirect-buffer'
* doc/lispref/buffers.texi (Indirect Buffers): Document it (bug#49160).
* src/buffer.c (Fmake_indirect_buffer): Allow controlling whether
to inhibit buffer hooks.
Diffstat (limited to 'test/src/buffer-tests.el')
-rw-r--r-- | test/src/buffer-tests.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/src/buffer-tests.el b/test/src/buffer-tests.el index 0161927419c..2adffc024a4 100644 --- a/test/src/buffer-tests.el +++ b/test/src/buffer-tests.el @@ -1369,7 +1369,8 @@ with parameters from the *Messages* buffer modification." (dotimes (_i 11) (let* (flag* (flag (lambda () (prog1 t (setq flag* t)))) - (indirect (make-indirect-buffer base "foo[indirect]"))) + (indirect (make-indirect-buffer base "foo[indirect]" nil + inhibit))) (unwind-protect (progn (with-current-buffer indirect |