aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
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 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,
796BASE-BUFFER should be a live buffer, or the name of an existing buffer. 796BASE-BUFFER should be a live buffer, or the name of an existing buffer.
797 797
798NAME should be a string which is not the name of an existing buffer. 798NAME should be a string which is not the name of an existing buffer.
799
800Interactively, prompt for BASE-BUFFER (offering the current buffer as
801the default), and for NAME (offering as default the name of a recently
802used buffer).
803
799Optional argument CLONE non-nil means preserve BASE-BUFFER's state, 804Optional argument CLONE non-nil means preserve BASE-BUFFER's state,
800such as major and minor modes, in the indirect buffer. 805such as major and minor modes, in the indirect buffer.
801
802CLONE nil means the indirect buffer's state is reset to default values. 806CLONE nil means the indirect buffer's state is reset to default values.
803 807
804If optional argument INHIBIT-BUFFER-HOOKS is non-nil, the new buffer 808If optional argument INHIBIT-BUFFER-HOOKS is non-nil, the new buffer
805does not run the hooks `kill-buffer-hook', 809does not run the hooks `kill-buffer-hook',
806`kill-buffer-query-functions', and `buffer-list-update-hook'. */) 810`kill-buffer-query-functions', and `buffer-list-update-hook'.
811
812Interactively, CLONE and INHIBIT-BUFFER-HOOKS are nil. */)
807 (Lisp_Object base_buffer, Lisp_Object name, Lisp_Object clone, 813 (Lisp_Object base_buffer, Lisp_Object name, Lisp_Object clone,
808 Lisp_Object inhibit_buffer_hooks) 814 Lisp_Object inhibit_buffer_hooks)
809{ 815{