summaryrefslogtreecommitdiff
path: root/lisp/bs.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2022-07-21 09:04:12 +0200
committerStefan Kangas <stefan@marxist.se>2022-07-21 09:23:20 +0200
commit8e71e9b10333ca4405ae6a9aaec68aa6902171ec (patch)
tree43d2aba4cb971393a47cc8a71160044df4700ba0 /lisp/bs.el
parent204d9f976dc4c0f3680bc9ef3392b35701617197 (diff)
downloademacs-8e71e9b10333ca4405ae6a9aaec68aa6902171ec.tar.gz
Make bs-help obsolete in favor of describe-mode
* lisp/bs.el (bs-help): Make obsolete in favor of describe-mode. Update uses.
Diffstat (limited to 'lisp/bs.el')
-rw-r--r--lisp/bs.el13
1 files changed, 7 insertions, 6 deletions
diff --git a/lisp/bs.el b/lisp/bs.el
index 00d8326115e..aabc2dc5583 100644
--- a/lisp/bs.el
+++ b/lisp/bs.el
@@ -487,7 +487,7 @@ Used internally, only.")
"DEL" #'bs-unmark-previous
">" #'scroll-right
"<" #'scroll-left
- "?" #'bs-help
+ "?" #'describe-mode
"<mouse-2>" #'bs-mouse-select
"<mouse-3>" #'bs-mouse-select-other-frame)
@@ -612,12 +612,12 @@ Used from `window-size-change-functions'."
\\<bs-mode-map>
Aside from two header lines each line describes one buffer.
Move to a line representing the buffer you want to edit and select
-buffer by \\[bs-select] or SPC. Abort buffer list with \\[bs-kill].
+buffer by \\[bs-select] or \\`SPC'. Abort buffer list with \\[bs-kill].
There are many key commands similar to `Buffer-menu-mode' for
manipulating the buffer list and buffers.
For faster navigation each digit key is a digit argument.
-\\[bs-select] or SPACE -- select current line's buffer and other marked buffers.
+\\[bs-select] or \\`SPC' -- select current line's buffer and other marked buffers.
\\[bs-select-in-one-window] -- select current's line buffer in one \
window, and delete other
windows in the same frame.
@@ -655,7 +655,7 @@ apply it.
\\[bs-kill] -- leave Buffer Selection Menu without a selection.
\\[bs-refresh] -- refresh Buffer Selection Menu.
-\\[bs-help] -- display this help text."
+\\[describe-mode] -- display this help text."
(buffer-disable-undo)
(setq buffer-read-only t
truncate-lines t
@@ -1121,7 +1121,8 @@ configuration."
(defun bs-help ()
"Help for `bs-show'."
- (interactive)
+ (declare (obsolete describe-mode "29.1"))
+ (interactive nil bs-mode)
(describe-function 'bs-mode))
(defun bs-next-config-aux (start-name list)
@@ -1484,7 +1485,7 @@ manipulating the buffer list and the buffers themselves.
User can move with [up] or [down], select a buffer
by \\[bs-select] or [SPC]\n
Type \\[bs-kill] to leave Buffer Selection Menu without a selection.
-Type \\[bs-help] after invocation to get help on commands available.
+Type \\[describe-mode] after invocation to get help on commands available.
With prefix argument ARG show a different buffer list. Function
`bs--configuration-name-for-prefix-arg' determine accordingly
name of buffer configuration."