diff options
| author | Eli Zaretskii | 2017-11-24 15:58:00 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2017-11-24 15:58:00 +0200 |
| commit | 8a2b204e646b50ad2e2a302c21a9f6e6cc78908e (patch) | |
| tree | 9098436d89cfe1d165bd42cb6f3d5753a221ef96 | |
| parent | eea4e9194c209770dceb55b4853451da25da4ea5 (diff) | |
| download | emacs-8a2b204e646b50ad2e2a302c21a9f6e6cc78908e.tar.gz emacs-8a2b204e646b50ad2e2a302c21a9f6e6cc78908e.zip | |
Improve discoverability of 'read-buffer-completion-ignore-case'
* lisp/window.el (switch-to-buffer)
(switch-to-buffer-other-window, switch-to-buffer-other-frame):
Mention 'read-buffer' in the doc string. (Bug#29389)
* doc/emacs/buffers.texi (Select Buffer): Add a cross-reference to
where 'read-buffer-completion-ignore-case' is documented.
| -rw-r--r-- | doc/emacs/buffers.texi | 3 | ||||
| -rw-r--r-- | lisp/window.el | 27 |
2 files changed, 17 insertions, 13 deletions
diff --git a/doc/emacs/buffers.texi b/doc/emacs/buffers.texi index a8b810ef91f..362d3b36453 100644 --- a/doc/emacs/buffers.texi +++ b/doc/emacs/buffers.texi | |||
| @@ -98,7 +98,8 @@ related commands, use @dfn{permissive completion with confirmation} for | |||
| 98 | minibuffer completion: if you type @key{RET} immediately after | 98 | minibuffer completion: if you type @key{RET} immediately after |
| 99 | completing up to a nonexistent buffer name, Emacs prints | 99 | completing up to a nonexistent buffer name, Emacs prints |
| 100 | @samp{[Confirm]} and you must type a second @key{RET} to submit that | 100 | @samp{[Confirm]} and you must type a second @key{RET} to submit that |
| 101 | buffer name. @xref{Completion Exit}, for details. | 101 | buffer name. @xref{Completion Exit}, for details. For other |
| 102 | completion options and features, see @ref{Completion Options}. | ||
| 102 | 103 | ||
| 103 | If you specify a buffer that does not exist, @kbd{C-x b} creates a | 104 | If you specify a buffer that does not exist, @kbd{C-x b} creates a |
| 104 | new, empty buffer that is not visiting any file, and selects it for | 105 | new, empty buffer that is not visiting any file, and selects it for |
diff --git a/lisp/window.el b/lisp/window.el index 8939e7d589b..b7736d85cd1 100644 --- a/lisp/window.el +++ b/lisp/window.el | |||
| @@ -7655,10 +7655,11 @@ another window. In interactive use, if the selected window is | |||
| 7655 | strongly dedicated to its buffer, the value of the option | 7655 | strongly dedicated to its buffer, the value of the option |
| 7656 | `switch-to-buffer-in-dedicated-window' specifies how to proceed. | 7656 | `switch-to-buffer-in-dedicated-window' specifies how to proceed. |
| 7657 | 7657 | ||
| 7658 | If called interactively, read the buffer name using the | 7658 | If called interactively, read the buffer name using `read-buffer'. |
| 7659 | minibuffer. The variable `confirm-nonexistent-file-or-buffer' | 7659 | The variable `confirm-nonexistent-file-or-buffer' determines |
| 7660 | determines whether to request confirmation before creating a new | 7660 | whether to request confirmation before creating a new buffer. |
| 7661 | buffer. | 7661 | See `read-buffer' for features related to input and completion |
| 7662 | of buffer names. | ||
| 7662 | 7663 | ||
| 7663 | BUFFER-OR-NAME may be a buffer, a string (a buffer name), or nil. | 7664 | BUFFER-OR-NAME may be a buffer, a string (a buffer name), or nil. |
| 7664 | If BUFFER-OR-NAME is a string that does not identify an existing | 7665 | If BUFFER-OR-NAME is a string that does not identify an existing |
| @@ -7735,10 +7736,11 @@ Return the buffer switched to." | |||
| 7735 | BUFFER-OR-NAME may be a buffer, a string (a buffer name), or | 7736 | BUFFER-OR-NAME may be a buffer, a string (a buffer name), or |
| 7736 | nil. Return the buffer switched to. | 7737 | nil. Return the buffer switched to. |
| 7737 | 7738 | ||
| 7738 | If called interactively, prompt for the buffer name using the | 7739 | If called interactively, read the buffer name using `read-buffer'. |
| 7739 | minibuffer. The variable `confirm-nonexistent-file-or-buffer' | 7740 | The variable `confirm-nonexistent-file-or-buffer' determines |
| 7740 | determines whether to request confirmation before creating a new | 7741 | whether to request confirmation before creating a new buffer. |
| 7741 | buffer. | 7742 | See `read-buffer' for features related to input and completion |
| 7743 | of buffer names. | ||
| 7742 | 7744 | ||
| 7743 | If BUFFER-OR-NAME is a string and does not identify an existing | 7745 | If BUFFER-OR-NAME is a string and does not identify an existing |
| 7744 | buffer, create a new buffer with that name. If BUFFER-OR-NAME is | 7746 | buffer, create a new buffer with that name. If BUFFER-OR-NAME is |
| @@ -7759,10 +7761,11 @@ documentation for additional customization information." | |||
| 7759 | BUFFER-OR-NAME may be a buffer, a string (a buffer name), or | 7761 | BUFFER-OR-NAME may be a buffer, a string (a buffer name), or |
| 7760 | nil. Return the buffer switched to. | 7762 | nil. Return the buffer switched to. |
| 7761 | 7763 | ||
| 7762 | If called interactively, prompt for the buffer name using the | 7764 | If called interactively, read the buffer name using `read-buffer'. |
| 7763 | minibuffer. The variable `confirm-nonexistent-file-or-buffer' | 7765 | The variable `confirm-nonexistent-file-or-buffer' determines |
| 7764 | determines whether to request confirmation before creating a new | 7766 | whether to request confirmation before creating a new buffer. |
| 7765 | buffer. | 7767 | See `read-buffer' for features related to input and completion |
| 7768 | of buffer names. | ||
| 7766 | 7769 | ||
| 7767 | If BUFFER-OR-NAME is a string and does not identify an existing | 7770 | If BUFFER-OR-NAME is a string and does not identify an existing |
| 7768 | buffer, create a new buffer with that name. If BUFFER-OR-NAME is | 7771 | buffer, create a new buffer with that name. If BUFFER-OR-NAME is |