unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: ej32u--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 44441@debbugs.gnu.org
Subject: bug#44441: PATCH: Wrong command name in windows.texi
Date: Wed, 04 Nov 2020 13:42:51 +0000	[thread overview]
Message-ID: <0076c209-d6a8-b615-1e40-3d0d891bed62@protonmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 348 bytes --]

Hello,

For swapping windows, the file "windows.texi" names the command 
`windmove-swap-states-in-direction', but describes 
`windmove-swap-states-default-keybindings'.

I changed the named command to 
`windmove-swap-states-default-keybindings', to match other named 
commands (e.g., `windmove-display-default-keybindings').

Thank you.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-windows.texi-Fix-command-name.patch --]
[-- Type: text/x-patch; name=0001-windows.texi-Fix-command-name.patch, Size: 1806 bytes --]

From e1ce1b242176048574be34a09a82867efc86b11b Mon Sep 17 00:00:00 2001
From: Earl <ej32u@protonmail.com>
Date: Wed, 4 Nov 2020 07:26:06 -0500
Subject: [PATCH] windows.texi: Fix command name.

For swapping windows, the file names the command
`windmove-swap-states-in-direction', but describes
`windmove-swap-states-default-keybindings'.

Change named command to `windmove-swap-states-default-keybindings', to
match other named commands (e.g., `windmove-display-default-keybindings').
---
 ChangeLog.3            | 8 ++++++++
 doc/emacs/windows.texi | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/ChangeLog.3 b/ChangeLog.3
index 0f36310079..169a201eb5 100644
--- a/ChangeLog.3
+++ b/ChangeLog.3
@@ -1,3 +1,11 @@
+2020-11-04  Earl Hyatt  <ej32u@protonmail.com>
+
+	* doc/emacs/windows.texi (Window Convenience): Fix description of
+	'windmove-swap-states-default-keybindings'.
+
+	The document describes 'windmove-swap-states-default-keybindings',
+	but referred to it as 'windmove-swap-states-in-direction'.
+
 2020-08-03  Phil Sainty  <psainty@orcon.net.nz>
 
 	lisp/so-long.el: Improve support for major mode hooks
diff --git a/doc/emacs/windows.texi b/doc/emacs/windows.texi
index bc1dcd7f41..b434dbf14b 100644
--- a/doc/emacs/windows.texi
+++ b/doc/emacs/windows.texi
@@ -603,7 +603,7 @@ Window Convenience
 window for the buffer that the next command is going to display.
 Also there is @w{@kbd{M-x windmove-delete-default-keybindings}} to
 define keybindings for commands that delete windows directionally, and
-@w{@kbd{M-x windmove-swap-states-in-direction}} that define
+@w{@kbd{M-x windmove-swap-states-default-keybindings}} that defines
 keybindings for commands that swap the window contents of the selected
 window with the window in the specified direction.
 
-- 
2.25.1


             reply	other threads:[~2020-11-04 13:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-04 13:42 ej32u--- via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2020-11-07  8:59 ` bug#44441: PATCH: Wrong command name in windows.texi Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0076c209-d6a8-b615-1e40-3d0d891bed62@protonmail.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=44441@debbugs.gnu.org \
    --cc=ej32u@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).