From e3fa7d0f788dad4afd08774a9252dc4a5464ebbf Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 1 Mar 2024 10:32:32 +0200 Subject: [PATCH] ; * src/buffer.c (Fmake_indirect_buffer): Doc fix. (cherry picked from commit ae80192d97b8d0e54a9429091cd84190bdbeb49e) --- src/buffer.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/buffer.c b/src/buffer.c index e235ff8f9f8..126f3eb055a 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -796,14 +796,20 @@ DEFUN ("make-indirect-buffer", Fmake_indirect_buffer, Smake_indirect_buffer, BASE-BUFFER should be a live buffer, or the name of an existing buffer. NAME should be a string which is not the name of an existing buffer. + +Interactively, prompt for BASE-BUFFER (offering the current buffer as +the default), and for NAME (offering as default the name of a recently +used buffer). + Optional argument CLONE non-nil means preserve BASE-BUFFER's state, such as major and minor modes, in the indirect buffer. - CLONE nil means the indirect buffer's state is reset to default values. If optional argument INHIBIT-BUFFER-HOOKS is non-nil, the new buffer does not run the hooks `kill-buffer-hook', -`kill-buffer-query-functions', and `buffer-list-update-hook'. */) +`kill-buffer-query-functions', and `buffer-list-update-hook'. + +Interactively, CLONE and INHIBIT-BUFFER-HOOKS are nil. */) (Lisp_Object base_buffer, Lisp_Object name, Lisp_Object clone, Lisp_Object inhibit_buffer_hooks) { -- 2.39.5