Move pdf-tools to file formats.

This commit is contained in:
tastytea 2019-03-30 18:45:24 +01:00
parent 702e4b45c6
commit 6330c5b7e2
1 changed files with 7 additions and 6 deletions

13
init.el
View File

@ -1,5 +1,5 @@
;;; init.el --- tastytea's Emacs init file.
;;; Time-stamp: <2019-03-30 18:14:19 CET>
;;; Time-stamp: <2019-03-30 18:42:24 CET>
;;; Commentary:
;;; I am using this file with Emacs 26, but most of it will probably work with
@ -682,10 +682,6 @@
:hook
(LaTeX-mode . company-auctex-init))
(use-package pdf-tools
:mode
("\\.pdf\\'" . pdf-tools-install))
;;;;;;;;;;;;;;;;;;;; File formats ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(use-package adoc-mode
:mode
@ -706,7 +702,7 @@
(use-package crontab-mode
:mode
(("/cron\\.d/" . crontab-mode))
("/cron\\.d/" . crontab-mode)
("\\`'/etc/crontab\\'" . crontab-mode))
(use-package nginx-mode
@ -717,6 +713,11 @@
:hook
(nginx-mode . company-nginx-keywords))
;; View PDF files.
(use-package pdf-tools
:mode
("\\.pdf\\'" . pdf-tools-install))
;;;;;;;;;;;;;;;;;;;; Server / Remote editing ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Edit remote files.
(unless slow-computer