Rename pdf-tools to pdf in pdf layer
This commit is contained in:
parent
093cfb2ec4
commit
b37e6d687c
|
@ -1,4 +1,4 @@
|
||||||
#+TITLE: pdf-tools layer
|
#+TITLE: PDF layer
|
||||||
|
|
||||||
[[file:img/pdf.png]]
|
[[file:img/pdf.png]]
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
- [[#occur-mode][Occur mode]]
|
- [[#occur-mode][Occur mode]]
|
||||||
|
|
||||||
* Description
|
* Description
|
||||||
This layer enables support for the [[https://github.com/politza/pdf-tools][pdf-tools]] package.
|
This layer enables support for PDF with the [[https://github.com/politza/pdf-tools][pdf-tools]] package.
|
||||||
|
|
||||||
According to the official repository:
|
According to the official repository:
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
;;; packages.el --- pdf-tools Layer packages File for Spacemacs
|
;;; packages.el --- PDF Layer packages File for Spacemacs
|
||||||
;;
|
;;
|
||||||
;; Copyright (c) 2012-2018 Sylvain Benner
|
;; Copyright (c) 2012-2018 Sylvain Benner
|
||||||
;; Copyright (c) 2014-2016 Sylvain Benner & Contributors
|
;; Copyright (c) 2014-2016 Sylvain Benner & Contributors
|
||||||
|
@ -10,9 +10,9 @@
|
||||||
;;
|
;;
|
||||||
;;; License: GPLv3
|
;;; License: GPLv3
|
||||||
|
|
||||||
(setq pdf-tools-packages '(pdf-tools))
|
(setq pdf-packages '(pdf-tools))
|
||||||
|
|
||||||
(defun pdf-tools/init-pdf-tools ()
|
(defun pdf/init-pdf-tools ()
|
||||||
(use-package pdf-tools
|
(use-package pdf-tools
|
||||||
:defer t
|
:defer t
|
||||||
:mode (("\\.pdf\\'" . pdf-view-mode))
|
:mode (("\\.pdf\\'" . pdf-view-mode))
|
||||||
|
|
Loading…
Reference in a new issue