summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2024-05-11 08:29:22 +0300
committerEli Zaretskii <eliz@gnu.org>2024-05-11 08:29:22 +0300
commit0ec9a02a0d5da108ccefe32dd37b066bae357334 (patch)
tree7010623e47cc4433dbd816d5c4bb94c30e853ef4
parent2f8bccf9d8c39c08b1a9c85db93d2af8eda988b8 (diff)
downloademacs-0ec9a02a0d5da108ccefe32dd37b066bae357334.tar.gz
emacs-0ec9a02a0d5da108ccefe32dd37b066bae357334.tar.bz2
emacs-0ec9a02a0d5da108ccefe32dd37b066bae357334.zip
; Fix doc strings of two scroll-bar functions.
* lisp/scroll-bar.el (toggle-horizontal-scroll-bar): Fix typo and wording. (Bug#70864). (toggle-scroll-bar): Fix wording.
-rw-r--r--lisp/scroll-bar.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/scroll-bar.el b/lisp/scroll-bar.el
index 1358bff6da8..01e47ccebbe 100644
--- a/lisp/scroll-bar.el
+++ b/lisp/scroll-bar.el
@@ -172,7 +172,7 @@ created in the future."
(defun toggle-scroll-bar (arg)
"Toggle whether or not the selected frame has vertical scroll bars.
-With ARG, turn vertical scroll bars on if and only if ARG is positive.
+With ARG, turn on vertical scroll bars if and only if ARG is positive.
The variable `scroll-bar-mode' controls which side the scroll bars are on
when they are turned on; if it is nil, they go on the left."
(interactive "P")
@@ -188,7 +188,7 @@ when they are turned on; if it is nil, they go on the left."
(defun toggle-horizontal-scroll-bar (arg)
"Toggle whether or not the selected frame has horizontal scroll bars.
-With ARG, turn vertical scroll bars on if and only if ARG is positive."
+With ARG, turn on horizontal scroll bars if and only if ARG is positive."
(interactive "P")
(if (null arg)
(setq arg