("\\.py\\'" . python-mode)
("\\.R\\'" . R-mode)
("\\.org\\'" . org-mode)
+ ("\\.tex\\'" . latex-mode)
("\\.sh\\'" . shell-script-mode)
("\\.hs\\'" . haskell-mode)
("\\.el\\'" . emacs-lisp-mode)))
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
+ '(TeX-view-program-selection
+ '(((output-dvi has-no-display-manager)
+ "dvi2tty")
+ ((output-dvi style-pstricks)
+ "dvips and gv")
+ (output-dvi "xdvi")
+ (output-pdf "PDF Tools")
+ (output-html "xdg-open")))
'(browse-url-browser-function 'browse-url-firefox)
'(custom-safe-themes
'("0cf95236abcf59e05b1ea69b4edd53d293a5baec4fe4c3484543fee99bfd2204" "80b00f3bf7cdbdca6c80aadfbbb03145f3d0aacf6bf2a559301e61109954e30a" default))
(add-to-list 'zoneinfo-style-world-list '("Australia/Perth" "Perth")))
+;; View PDFs in Emacs
+(pdf-loader-install) ; On demand loading, leads to faster startup time