From: Lars Ingebrigtsen Date: Fri, 12 Nov 2021 03:31:33 +0000 (+0100) Subject: Move Info-goto-node-web to "G" X-Git-Tag: emacs-29.0.90~3668^2~25 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2d9e75088165672a7db5b5e67fbc3ebf17e08bb7;p=emacs.git 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". --- diff --git a/etc/NEWS b/etc/NEWS index 5439964891e..0057fbdcbfe 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 28f25d0e0d4..cd4c867f4e6 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'.