aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorEli Zaretskii2024-03-01 10:32:32 +0200
committerEli Zaretskii2024-03-01 10:32:32 +0200
commitae80192d97b8d0e54a9429091cd84190bdbeb49e (patch)
tree94c099d5bba09e8924359302eb433c70d135d3e8 /src/buffer.c
parent2549eabc97f191ecea65d88d59cf21e5e0c81be8 (diff)
downloademacs-ae80192d97b8d0e54a9429091cd84190bdbeb49e.tar.gz
emacs-ae80192d97b8d0e54a9429091cd84190bdbeb49e.zip
; * src/buffer.c (Fmake_indirect_buffer): Doc fix.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 2d3e04f78cd..32a05010311 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -774,14 +774,20 @@ DEFUN ("make-indirect-buffer", Fmake_indirect_buffer, Smake_indirect_buffer,
774BASE-BUFFER should be a live buffer, or the name of an existing buffer. 774BASE-BUFFER should be a live buffer, or the name of an existing buffer.
775 775
776NAME should be a string which is not the name of an existing buffer. 776NAME should be a string which is not the name of an existing buffer.
777
778Interactively, prompt for BASE-BUFFER (offering the current buffer as
779the default), and for NAME (offering as default the name of a recently
780used buffer).
781
777Optional argument CLONE non-nil means preserve BASE-BUFFER's state, 782Optional argument CLONE non-nil means preserve BASE-BUFFER's state,
778such as major and minor modes, in the indirect buffer. 783such as major and minor modes, in the indirect buffer.
779
780CLONE nil means the indirect buffer's state is reset to default values. 784CLONE nil means the indirect buffer's state is reset to default values.
781 785
782If optional argument INHIBIT-BUFFER-HOOKS is non-nil, the new buffer 786If optional argument INHIBIT-BUFFER-HOOKS is non-nil, the new buffer
783does not run the hooks `kill-buffer-hook', 787does not run the hooks `kill-buffer-hook',
784`kill-buffer-query-functions', and `buffer-list-update-hook'. */) 788`kill-buffer-query-functions', and `buffer-list-update-hook'.
789
790Interactively, CLONE and INHIBIT-BUFFER-HOOKS are nil. */)
785 (Lisp_Object base_buffer, Lisp_Object name, Lisp_Object clone, 791 (Lisp_Object base_buffer, Lisp_Object name, Lisp_Object clone,
786 Lisp_Object inhibit_buffer_hooks) 792 Lisp_Object inhibit_buffer_hooks)
787{ 793{