[nov.el] make Boon keybindings work when point is in a link

This commit is contained in:
contrapunctus 2021-03-26 09:06:13 +05:30
parent bf7c67e711
commit bde5e8076f

View File

@ -2561,7 +2561,15 @@ pjb suggested a different approach [[http://paste.lisp.org/display/10157][here]]
** nov.el
#+BEGIN_SRC emacs-lisp
(use-package nov
:mode ("\\.epub\\'" . nov-mode))
:mode ("\\.epub\\'" . nov-mode)
:bind
(:map nov-mode-map
;; make (Boon) c and r work even when point is in a link
("c" . nil)
("r" . nil)
("y" . nov-copy-url)
("M-c" . nov-history-back)
("M-r" . nov-history-forward)))
#+END_SRC
** package