emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 ae80192d97b: ; * src/buffer.c (Fmake_indirect_buffer): Doc fix.


From: Eli Zaretskii
Subject: emacs-29 ae80192d97b: ; * src/buffer.c (Fmake_indirect_buffer): Doc fix.
Date: Fri, 1 Mar 2024 03:33:12 -0500 (EST)

branch: emacs-29
commit ae80192d97b8d0e54a9429091cd84190bdbeb49e
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; * src/buffer.c (Fmake_indirect_buffer): Doc fix.
---
 src/buffer.c | 10 ++++++++--
 1 file 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,
 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)
 {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]