1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 18:40:39 -08:00

Remove :copy from define-keymap

* doc/lispref/keymaps.texi (Changing Key Bindings): Update
documentation.

* lisp/subr.el (define-keymap):
(define-keymap--define): Remove :copy from the signature.

* lisp/net/eww.el (eww-link-keymap): Use :parent.
This commit is contained in:
Lars Ingebrigtsen 2021-10-04 16:37:30 +02:00
parent 3f14418b11
commit 7b409dfe96
3 changed files with 6 additions and 18 deletions

View file

@ -271,10 +271,10 @@ See also `eww-form-checkbox-selected-symbol'."
"text/html, text/plain, text/sgml, text/css, application/xhtml+xml, */*;q=0.01"
"Value used for the HTTP 'Accept' header.")
(defvar-keymap eww-link-keymap (:copy shr-map)
(defvar-keymap eww-link-keymap (:parent shr-map)
"\r" #'eww-follow-link)
(defvar-keymap eww-image-link-keymap (:copy shr-map)
(defvar-keymap eww-image-link-keymap (:parent shr-map)
"\r" #'eww-follow-link)
(defun eww-suggested-uris nil