Set pdf print program
This commit is contained in:
parent
508ec41fb4
commit
747c35b12a
1
init.el
1
init.el
@ -784,6 +784,7 @@ COMMAND and COMINT are like `compile'."
|
|||||||
(use-package pdf-tools
|
(use-package pdf-tools
|
||||||
:hook (pdf-view-mode . my/setup-pdf-view-mode)
|
:hook (pdf-view-mode . my/setup-pdf-view-mode)
|
||||||
:init
|
:init
|
||||||
|
(setq pdf-misc-print-program-executable "lp")
|
||||||
(defun my/setup-pdf-view-mode ()
|
(defun my/setup-pdf-view-mode ()
|
||||||
(display-line-numbers-mode -1)
|
(display-line-numbers-mode -1)
|
||||||
(setq-local cursor-type nil))
|
(setq-local cursor-type nil))
|
||||||
|
Loading…
Reference in New Issue
Block a user