]> git.eshelyaron.com Git - emacs.git/commit
Make make-indirect-buffer inherit inhibit-buffer-hook from base buffer
authordickmao <none>
Mon, 19 Jul 2021 16:12:17 +0000 (18:12 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 19 Jul 2021 16:23:11 +0000 (18:23 +0200)
commit95e31a1a328a7548efa76befa74d430925ca7f6d
tree4d2aaf18122907285d8ae8ea3ada398e21980fcb
parentdd70012dca136d1218987b602ce22330e406cb26
Make make-indirect-buffer inherit inhibit-buffer-hook from base buffer

* src/buffer.c (Fmake_indirect_buffer):
Match base buffer's inhibit-buffer-hooks.
* test/src/buffer-tests.el (buffer-tests-inhibit-buffer-hooks-indirect):
Add a test (bug#49160).
src/buffer.c
test/src/buffer-tests.el