aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorEli Zaretskii2017-11-24 15:58:00 +0200
committerEli Zaretskii2017-11-24 15:58:00 +0200
commit8a2b204e646b50ad2e2a302c21a9f6e6cc78908e (patch)
tree9098436d89cfe1d165bd42cb6f3d5753a221ef96 /lisp
parenteea4e9194c209770dceb55b4853451da25da4ea5 (diff)
downloademacs-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.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/window.el27
1 files changed, 15 insertions, 12 deletions
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
7655strongly dedicated to its buffer, the value of the option 7655strongly 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
7658If called interactively, read the buffer name using the 7658If called interactively, read the buffer name using `read-buffer'.
7659minibuffer. The variable `confirm-nonexistent-file-or-buffer' 7659The variable `confirm-nonexistent-file-or-buffer' determines
7660determines whether to request confirmation before creating a new 7660whether to request confirmation before creating a new buffer.
7661buffer. 7661See `read-buffer' for features related to input and completion
7662of buffer names.
7662 7663
7663BUFFER-OR-NAME may be a buffer, a string (a buffer name), or nil. 7664BUFFER-OR-NAME may be a buffer, a string (a buffer name), or nil.
7664If BUFFER-OR-NAME is a string that does not identify an existing 7665If BUFFER-OR-NAME is a string that does not identify an existing
@@ -7735,10 +7736,11 @@ Return the buffer switched to."
7735BUFFER-OR-NAME may be a buffer, a string (a buffer name), or 7736BUFFER-OR-NAME may be a buffer, a string (a buffer name), or
7736nil. Return the buffer switched to. 7737nil. Return the buffer switched to.
7737 7738
7738If called interactively, prompt for the buffer name using the 7739If called interactively, read the buffer name using `read-buffer'.
7739minibuffer. The variable `confirm-nonexistent-file-or-buffer' 7740The variable `confirm-nonexistent-file-or-buffer' determines
7740determines whether to request confirmation before creating a new 7741whether to request confirmation before creating a new buffer.
7741buffer. 7742See `read-buffer' for features related to input and completion
7743of buffer names.
7742 7744
7743If BUFFER-OR-NAME is a string and does not identify an existing 7745If BUFFER-OR-NAME is a string and does not identify an existing
7744buffer, create a new buffer with that name. If BUFFER-OR-NAME is 7746buffer, create a new buffer with that name. If BUFFER-OR-NAME is
@@ -7759,10 +7761,11 @@ documentation for additional customization information."
7759BUFFER-OR-NAME may be a buffer, a string (a buffer name), or 7761BUFFER-OR-NAME may be a buffer, a string (a buffer name), or
7760nil. Return the buffer switched to. 7762nil. Return the buffer switched to.
7761 7763
7762If called interactively, prompt for the buffer name using the 7764If called interactively, read the buffer name using `read-buffer'.
7763minibuffer. The variable `confirm-nonexistent-file-or-buffer' 7765The variable `confirm-nonexistent-file-or-buffer' determines
7764determines whether to request confirmation before creating a new 7766whether to request confirmation before creating a new buffer.
7765buffer. 7767See `read-buffer' for features related to input and completion
7768of buffer names.
7766 7769
7767If BUFFER-OR-NAME is a string and does not identify an existing 7770If BUFFER-OR-NAME is a string and does not identify an existing
7768buffer, create a new buffer with that name. If BUFFER-OR-NAME is 7771buffer, create a new buffer with that name. If BUFFER-OR-NAME is