From 0ec9a02a0d5da108ccefe32dd37b066bae357334 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 11 May 2024 08:29:22 +0300 Subject: [PATCH] ; 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. --- lisp/scroll-bar.el | 4 ++-- 1 file 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