aboutsummaryrefslogtreecommitdiff
path: root/nov.el
diff options
context:
space:
mode:
authorVasilij Schneidermann <mail@vasilij.de>2021-12-30 10:53:08 +0100
committerVasilij Schneidermann <mail@vasilij.de>2021-12-30 10:54:00 +0100
commit2b4a7231aff6211a5a2f28719d830887aec6cc57 (patch)
tree02aa1b79e5c03ab82acee011d816acfd03a974ec /nov.el
parent587ff2fe25b0a75726f090001441bca76aa0ce4b (diff)
Prefer nov keys in button map (thanks, Greg!)
Diffstat (limited to 'nov.el')
-rw-r--r--nov.el2
1 files changed, 1 insertions, 1 deletions
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 "<mouse-2>") 'nov-browse-url)