From 2b4a7231aff6211a5a2f28719d830887aec6cc57 Mon Sep 17 00:00:00 2001 From: Vasilij Schneidermann Date: Thu, 30 Dec 2021 10:53:08 +0100 Subject: Prefer nov keys in button map (thanks, Greg!) --- nov.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nov.el') diff --git a/nov.el b/nov.el index 9f675d8..fb48d87 100644 --- a/nov.el +++ b/nov.el @@ -414,7 +414,7 @@ Each alist item consists of the identifier and full path." map)) (defvar nov-button-map - (let ((map (make-sparse-keymap))) + (let ((map (copy-keymap nov-mode-map))) (set-keymap-parent map shr-map) (define-key map (kbd "RET") 'nov-browse-url) (define-key map (kbd "") 'nov-browse-url) -- cgit v1.2.3