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 /doc/lispref/buffers.texi | |
parent | 95e31a1a328a7548efa76befa74d430925ca7f6d (diff) | |
download | emacs-514398c66576162c6bf5d8bd1d0ae3d2c6b83b49.tar.gz |
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 'doc/lispref/buffers.texi')
-rw-r--r-- | doc/lispref/buffers.texi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/lispref/buffers.texi b/doc/lispref/buffers.texi index 0d31b0bc4c6..02bbc67c5d1 100644 --- a/doc/lispref/buffers.texi +++ b/doc/lispref/buffers.texi @@ -1183,7 +1183,7 @@ buffer. the base buffer effectively kills the indirect buffer in that it cannot ever again be the current buffer. -@deffn Command make-indirect-buffer base-buffer name &optional clone +@deffn Command make-indirect-buffer base-buffer name &optional clone inhibit-buffer-hooks This creates and returns an indirect buffer named @var{name} whose base buffer is @var{base-buffer}. The argument @var{base-buffer} may be a live buffer or the name (a string) of an existing buffer. If @@ -1199,6 +1199,8 @@ If @var{base-buffer} is an indirect buffer, its base buffer is used as the base for the new buffer. If, in addition, @var{clone} is non-@code{nil}, the initial state is copied from the actual base buffer, not from @var{base-buffer}. + +@xref{Creating Buffers} for the meaning of @var{inhibit-buffer-hooks}. @end deffn @deffn Command clone-indirect-buffer newname display-flag &optional norecord |