dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit f1407ba5de21dcdc1a675e5cb51db0c32c9b6910
parent b66025cf1ad47288e423c91b10616db1b6cd2a80
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Sat, 27 Aug 2022 13:18:28 +0200

emacs: fix pdf-mode

Diffstat:
Memacs/config.org | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/emacs/config.org b/emacs/config.org @@ -2024,6 +2024,7 @@ A better replacement for DocView: #+begin_src emacs-lisp (use-package pdf-tools + :magic ("%PDF" . pdf-view-mode) :custom (pdf-annot-default-annotation-properties '((t (label . "Alex Balgavy")) @@ -2050,7 +2051,7 @@ A better replacement for DocView: (pdf-view-mode . (lambda () (display-line-numbers-mode 0))) :config - (pdf-tools-install) + (pdf-tools-install :no-query) ;; The arrow tooltip does not show properly when jumping to a ;; location. Maybe this is a Mac-only thing. See here: @@ -2086,7 +2087,6 @@ A better replacement for DocView: (xw (pdf-util-with-edges (e) e-width))) (cl-incf dx (/ (- xw (car (pdf-view-image-size t))) 2)))) (pdf-util-tooltip-in-window "\u2192" dx dy)))) - #+end_src *** TODO this clobbers register x. Find a way to not clobber a register