diff options
| author | Eli Zaretskii | 2024-03-01 10:32:32 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2024-03-01 10:32:32 +0200 |
| commit | ae80192d97b8d0e54a9429091cd84190bdbeb49e (patch) | |
| tree | 94c099d5bba09e8924359302eb433c70d135d3e8 /src/buffer.c | |
| parent | 2549eabc97f191ecea65d88d59cf21e5e0c81be8 (diff) | |
| download | emacs-ae80192d97b8d0e54a9429091cd84190bdbeb49e.tar.gz emacs-ae80192d97b8d0e54a9429091cd84190bdbeb49e.zip | |
; * src/buffer.c (Fmake_indirect_buffer): Doc fix.
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 10 |
1 files 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, | |||
| 774 | BASE-BUFFER should be a live buffer, or the name of an existing buffer. | 774 | BASE-BUFFER should be a live buffer, or the name of an existing buffer. |
| 775 | 775 | ||
| 776 | NAME should be a string which is not the name of an existing buffer. | 776 | NAME should be a string which is not the name of an existing buffer. |
| 777 | |||
| 778 | Interactively, prompt for BASE-BUFFER (offering the current buffer as | ||
| 779 | the default), and for NAME (offering as default the name of a recently | ||
| 780 | used buffer). | ||
| 781 | |||
| 777 | Optional argument CLONE non-nil means preserve BASE-BUFFER's state, | 782 | Optional argument CLONE non-nil means preserve BASE-BUFFER's state, |
| 778 | such as major and minor modes, in the indirect buffer. | 783 | such as major and minor modes, in the indirect buffer. |
| 779 | |||
| 780 | CLONE nil means the indirect buffer's state is reset to default values. | 784 | CLONE nil means the indirect buffer's state is reset to default values. |
| 781 | 785 | ||
| 782 | If optional argument INHIBIT-BUFFER-HOOKS is non-nil, the new buffer | 786 | If optional argument INHIBIT-BUFFER-HOOKS is non-nil, the new buffer |
| 783 | does not run the hooks `kill-buffer-hook', | 787 | does not run the hooks `kill-buffer-hook', |
| 784 | `kill-buffer-query-functions', and `buffer-list-update-hook'. */) | 788 | `kill-buffer-query-functions', and `buffer-list-update-hook'. |
| 789 | |||
| 790 | Interactively, CLONE and INHIBIT-BUFFER-HOOKS are nil. */) | ||
| 785 | (Lisp_Object base_buffer, Lisp_Object name, Lisp_Object clone, | 791 | (Lisp_Object base_buffer, Lisp_Object name, Lisp_Object clone, |
| 786 | Lisp_Object inhibit_buffer_hooks) | 792 | Lisp_Object inhibit_buffer_hooks) |
| 787 | { | 793 | { |