aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2021-11-12 04:31:33 +0100
committerLars Ingebrigtsen2021-11-12 04:35:46 +0100
commit2d9e75088165672a7db5b5e67fbc3ebf17e08bb7 (patch)
treef11e6d28e39d68c757ba1278079fdc2a2bea7e0a
parentc9914ba01b7c29f0ee5a2191f7c8a6577366b000 (diff)
downloademacs-2d9e75088165672a7db5b5e67fbc3ebf17e08bb7.tar.gz
emacs-2d9e75088165672a7db5b5e67fbc3ebf17e08bb7.zip
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".
-rw-r--r--etc/NEWS2
-rw-r--r--lisp/info.el2
2 files changed, 2 insertions, 2 deletions
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.
213** Info 213** Info
214 214
215--- 215---
216*** New command 'Info-goto-node-web' and key binding 'W'. 216*** New command 'Info-goto-node-web' and key binding 'G'.
217This will take you to the gnu.org web server's version of the current 217This will take you to the gnu.org web server's version of the current
218info node. This command only works for the Emacs and Emacs Lisp manuals. 218info node. This command only works for the Emacs and Emacs Lisp manuals.
219 219
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'."
4086 (define-key map "e" 'end-of-buffer) 4086 (define-key map "e" 'end-of-buffer)
4087 (define-key map "f" 'Info-follow-reference) 4087 (define-key map "f" 'Info-follow-reference)
4088 (define-key map "g" 'Info-goto-node) 4088 (define-key map "g" 'Info-goto-node)
4089 (define-key map "G" 'Info-goto-node-web)
4089 (define-key map "h" 'Info-help) 4090 (define-key map "h" 'Info-help)
4090 ;; This is for compatibility with standalone info (>~ version 5.2). 4091 ;; This is for compatibility with standalone info (>~ version 5.2).
4091 ;; Though for some time, standalone info had H and h reversed. 4092 ;; 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'."
4107 (define-key map "T" 'Info-toc) 4108 (define-key map "T" 'Info-toc)
4108 (define-key map "u" 'Info-up) 4109 (define-key map "u" 'Info-up)
4109 ;; `w' for consistency with `dired-copy-filename-as-kill'. 4110 ;; `w' for consistency with `dired-copy-filename-as-kill'.
4110 (define-key map "W" 'Info-goto-node-web)
4111 (define-key map "w" 'Info-copy-current-node-name) 4111 (define-key map "w" 'Info-copy-current-node-name)
4112 (define-key map "c" 'Info-copy-current-node-name) 4112 (define-key map "c" 'Info-copy-current-node-name)
4113 ;; `^' for consistency with `dired-up-directory'. 4113 ;; `^' for consistency with `dired-up-directory'.