From: Eli Zaretskii Date: Sat, 11 May 2024 05:29:22 +0000 (+0300) Subject: ; Fix doc strings of two scroll-bar functions. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=82ccf3765e459b12793fadd9f50f5d3aec5e6a8b;p=emacs.git ; 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. (cherry picked from commit 0ec9a02a0d5da108ccefe32dd37b066bae357334) --- 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