summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2026-05-04 19:23:56 +0800
committerJSDurand <mmemmew@gmail.com>2026-05-04 19:23:56 +0800
commit050c940b96c8264d7c030e24c11288629be27d14 (patch)
treee03a658c1670014e5d71ae4fcd1d65abb4eff926
parent696df83b69b5cc995d4819f6d00aa7e65cf65997 (diff)
pdf: use lexical binding now
-rw-r--r--pdf.el31
1 files changed, 30 insertions, 1 deletions
diff --git a/pdf.el b/pdf.el
index dac65ee..da0d146 100644
--- a/pdf.el
+++ b/pdf.el
@@ -1,4 +1,29 @@
-;;; Dependency
+;;; pdf.el --- PDF configurations -*- lexical-binding: t; -*-
+
+;; Copyright (C) 2026 Jean Sévère Durand
+
+;; Author: Jean Sévère Durand;;; Dependency <durand@jsdurand.xyz>
+;; Keywords: data, convenience
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;; Just my configurations for PDF viewing.
+
+;;; Code:
+
(use-package "tablist" 'tablist)
(use-package "pdf-tools/lisp" 'pdf-view)
@@ -95,6 +120,10 @@ Modifed by Durand 2021-07-27 10:42:02.828266."
(define-key pdf-view-mode-map (vector ?\C->) #'image-scroll-right)
(define-key pdf-view-mode-map (vector ?>) #'image-eob)
(define-key pdf-view-mode-map (vector ?<) #'image-bob)
+(define-key pdf-view-mode-map (vector ?J) #'jump-to-register)
(define-key pdf-history-minor-mode-map (vector ?l) nil)
(pdf-tools-install)
+
+(provide 'pdf)
+;;; pdf.el ends here