From 050c940b96c8264d7c030e24c11288629be27d14 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Mon, 4 May 2026 19:23:56 +0800 Subject: pdf: use lexical binding now --- pdf.el | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) (limited to 'pdf.el') 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 +;; 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 . + +;;; 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 -- cgit v1.2.3-18-g5258