summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--emacs.org4
1 files changed, 2 insertions, 2 deletions
diff --git a/emacs.org b/emacs.org
index a2a42f9..3d6e7cf 100644
--- a/emacs.org
+++ b/emacs.org
@@ -312,8 +312,8 @@ Also, if you just stumbled accross this at random, there is an easy tangle butto
     I don't want to be at the mercy of my browser to figure out how to read a PDF
     #+begin_src emacs-lisp :tangle emacsconfig/extras.el
       (use-package pdf-tools
-        :mode
-        "\\.pdf$")
+        :config
+        (add-to-list 'auto-mode-alist '("\\.pdf$" . pdf-view-mode)))
     #+end_src
 ** Programming-related emacs tools
    I do computer science, so from now and then I tend to program a bit. Here are all the tools I use to accomplish