]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix doc strings of two scroll-bar functions.
authorEli Zaretskii <eliz@gnu.org>
Sat, 11 May 2024 05:29:22 +0000 (08:29 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sun, 12 May 2024 15:48:50 +0000 (17:48 +0200)
* lisp/scroll-bar.el (toggle-horizontal-scroll-bar): Fix typo and
wording.  (Bug#70864).
(toggle-scroll-bar): Fix wording.

(cherry picked from commit 0ec9a02a0d5da108ccefe32dd37b066bae357334)

lisp/scroll-bar.el

index 1358bff6da8cb457eb2a5692d39ed047d3c40c05..01e47ccebbe3b190cfe0b2fbf3b7702ae31d09a1 100644 (file)
@@ -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