emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 2d9e750: Move Info-goto-node-web to "G"


From: Lars Ingebrigtsen
Subject: master 2d9e750: Move Info-goto-node-web to "G"
Date: Thu, 11 Nov 2021 22:35:51 -0500 (EST)

branch: master
commit 2d9e75088165672a7db5b5e67fbc3ebf17e08bb7
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Move Info-goto-node-web to "G"
    
    * lisp/info.el (Info-mode-map): Change the Info-goto-node-web
    binding to "G" for symmetry with "Info-goto-node".
---
 etc/NEWS     | 2 +-
 lisp/info.el | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/etc/NEWS b/etc/NEWS
index 5439964..0057fbd 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -213,7 +213,7 @@ change the terminal used on a remote host.
 ** Info
 
 ---
-*** New command 'Info-goto-node-web' and key binding 'W'.
+*** New command 'Info-goto-node-web' and key binding 'G'.
 This will take you to the gnu.org web server's version of the current
 info node.  This command only works for the Emacs and Emacs Lisp manuals.
 
diff --git a/lisp/info.el b/lisp/info.el
index 28f25d0..cd4c867 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -4086,6 +4086,7 @@ If FORK is non-nil, it is passed to `Info-goto-node'."
     (define-key map "e" 'end-of-buffer)
     (define-key map "f" 'Info-follow-reference)
     (define-key map "g" 'Info-goto-node)
+    (define-key map "G" 'Info-goto-node-web)
     (define-key map "h" 'Info-help)
     ;; This is for compatibility with standalone info (>~ version 5.2).
     ;; Though for some time, standalone info had H and h reversed.
@@ -4107,7 +4108,6 @@ If FORK is non-nil, it is passed to `Info-goto-node'."
     (define-key map "T" 'Info-toc)
     (define-key map "u" 'Info-up)
     ;; `w' for consistency with `dired-copy-filename-as-kill'.
-    (define-key map "W" 'Info-goto-node-web)
     (define-key map "w" 'Info-copy-current-node-name)
     (define-key map "c" 'Info-copy-current-node-name)
     ;; `^' for consistency with `dired-up-directory'.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]