]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/buffer.c (Fmake_indirect_buffer): Doc fix.
authorEli Zaretskii <eliz@gnu.org>
Fri, 1 Mar 2024 08:32:32 +0000 (10:32 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sun, 3 Mar 2024 17:04:42 +0000 (18:04 +0100)
(cherry picked from commit ae80192d97b8d0e54a9429091cd84190bdbeb49e)

src/buffer.c

index e235ff8f9f878c1354267aba28dcaec97f71d818..126f3eb055ae1d10c835684295c20fad36bbc30b 100644 (file)
@@ -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)
 {