From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Charalampos Mitrodimas Newsgroups: gmane.emacs.bugs Subject: bug#70864: 29.3; Typo in toggle-horizontal-scroll-bar docstring Date: Fri, 10 May 2024 22:14:55 +0000 Message-ID: <87wmo1gvoq.fsf@posteo.net> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2469"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70864@debbugs.gnu.org To: Pierre Rouleau Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 11 00:16:39 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s5YXf-0000UH-Pz for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 11 May 2024 00:16:39 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s5YXH-000204-Mf; Fri, 10 May 2024 18:16:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s5YX7-0001xy-8i for bug-gnu-emacs@gnu.org; Fri, 10 May 2024 18:16:06 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s5YX5-0005Qa-HX for bug-gnu-emacs@gnu.org; Fri, 10 May 2024 18:16:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s5YX4-0003En-Bd for bug-gnu-emacs@gnu.org; Fri, 10 May 2024 18:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Charalampos Mitrodimas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 May 2024 22:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70864 X-GNU-PR-Package: emacs Original-Received: via spool by 70864-submit@debbugs.gnu.org id=B70864.171537936112426 (code B ref 70864); Fri, 10 May 2024 22:16:02 +0000 Original-Received: (at 70864) by debbugs.gnu.org; 10 May 2024 22:16:01 +0000 Original-Received: from localhost ([127.0.0.1]:44431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s5YX2-0003EK-NA for submit@debbugs.gnu.org; Fri, 10 May 2024 18:16:01 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:59635) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s5YWz-0003EC-Rr for 70864@debbugs.gnu.org; Fri, 10 May 2024 18:15:59 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id A2920240027 for <70864@debbugs.gnu.org>; Sat, 11 May 2024 00:15:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1715379352; bh=4nHTqgkWd58pWXgGGeqOGe9eEkxMeU5cJP51Ci8rPHI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=ID/DYiYOMnTPPttFQVS740hUeecTLktPqZRvHEhKM5Y22CRY8x0mPIuPpFfYghtAH A59tbIBPJQDJ9B78b3SZntIUR4VOFqySB5zjHTU6tmnUfV8M3Wh7ZF4AA/iHSn/0RF pFjYyoFIJhoZX+wcgpEWfwx8UR8lb8f1JV6JchFpLL9MNwX/rB1geJQZRMsfmMJKqJ zyvCtDhHGeXFjISKliJYv5npEjBClagGTKNpozAYsB+MTG88046RNm4kPW0hWHQuy6 vy0FxCblwqX+LCRWu0PFLdDZ0/6ypnxGs95Dj68AbE4C5p0c8BGwzePNC80MnAYk0E olvhXC7Ws2fYQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VbjrS0BxJz9rxB; Sat, 11 May 2024 00:15:51 +0200 (CEST) In-reply-to: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:284838 Archived-At: --=-=-= Content-Type: text/plain Pierre Rouleau writes: > I just noticed a small typo in toggle-horizontal-scroll-bar docstring. > It currently is: > > "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." > > It refers to *vertical* instead of *horizontal*. > > It's in Emacs 29.3 and in the main branch of the Git repo. Hi Pierre, Thanks! Patch attached. -- C. Mitrodimas --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-Fix-docstring-for-toggle-horizontal-scroll-bar.patch >From 90bf7f2473c3c24d610fd6ac6d28a6469f25e1a9 Mon Sep 17 00:00:00 2001 From: Charalampos Mitrodimas Date: Sat, 11 May 2024 00:39:49 +0300 Subject: [PATCH] Fix docstring for toggle-horizontal-scroll-bar The docstring incorrectly mentioned "vertical scroll bars" instead of "horizontal scroll bars". * lisp/scroll-bar.el (toggle-horizontal-scroll-bar): Docstring change "vertical scroll bars" to "horizontal scroll bars". --- lisp/scroll-bar.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/scroll-bar.el b/lisp/scroll-bar.el index 1358bff6da8..e7efe180e59 100644 --- a/lisp/scroll-bar.el +++ b/lisp/scroll-bar.el @@ -188,7 +188,7 @@ toggle-scroll-bar (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 horizontal scroll bars on if and only if ARG is positive." (interactive "P") (if (null arg) (setq arg -- 2.39.2 --=-=-=--