summaryrefslogtreecommitdiff
path: root/lisp/pdf-history.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/pdf-history.el')
-rw-r--r--lisp/pdf-history.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/pdf-history.el b/lisp/pdf-history.el
index df01b72..abb9cf2 100644
--- a/lisp/pdf-history.el
+++ b/lisp/pdf-history.el
@@ -38,8 +38,8 @@
(defvar pdf-history-minor-mode-map
(let ((kmap (make-sparse-keymap)))
- (define-key kmap (kbd "B") 'pdf-history-backward)
- (define-key kmap (kbd "N") 'pdf-history-forward)
+ (define-key kmap (kbd "B") #'pdf-history-backward)
+ (define-key kmap (kbd "N") #'pdf-history-forward)
kmap)
"Keymap used in `pdf-history-minor-mode'.")
@@ -59,10 +59,10 @@ may be navigated with the following keys.
(pdf-history-minor-mode
(pdf-history-push)
(add-hook 'pdf-view-after-change-page-hook
- 'pdf-history-before-change-page-hook nil t))
+ #'pdf-history-before-change-page-hook nil t))
(t
(remove-hook 'pdf-view-after-change-page-hook
- 'pdf-history-before-change-page-hook t))))
+ #'pdf-history-before-change-page-hook t))))
(defun pdf-history-before-change-page-hook ()
"Push a history item, before leaving this page."