; * src/buffer.c (Fmake_indirect_buffer): Doc fix.
authorEli Zaretskii <eliz@gnu.org>
Fri, 1 Mar 2024 08:32:32 +0000 (10:32 +0200)
committerEli Zaretskii <eliz@gnu.org>
Fri, 1 Mar 2024 08:32:32 +0000 (10:32 +0200)
src/buffer.c

index 2d3e04f78cdd4fc71c608b9894180b71e6fc4275..32a050103111f8f98f2b9c4d808257097c72f989 100644 (file)
@@ -774,14 +774,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)
 {