From cce73f4847dee4b439ec07b4398f2e16e006827a Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sun, 28 Jan 2024 22:09:55 +0200 Subject: emacs: Update pdf-tools, remove hooks --- .emacs.d/init.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to '.emacs.d/init.el') diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 440a03e..bc8df78 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -262,7 +262,7 @@ (define-prefix-command 'thanos/notes-map) :config (setf org-roam-directory "~/Notes") - (org-roam-db-autosync-enable) + (org-roam-db-autosync-enable) (setf org-roam-node-display-template (concat "${title:50} "(propertize "${tags:30}" 'face 'org-tag))) @@ -488,9 +488,7 @@ :ensure t :config (pdf-tools-install) - (add-to-list 'auto-mode-alist '("\\.pdf\\'" . 'pdf-view-mode)) - :hook ((pdf-view-mode . 'pdf-isearch-minor-mode) - (pdf-view-mode . 'pdf-view-midnight-minor-mode))) + (add-to-list 'auto-mode-alist '("\\.pdf\\'" . 'pdf-view-mode))) (use-package markdown-mode :defer t -- cgit v1.2.3