mirror of
https://github.com/doomemacs/doomemacs.git
synced 2026-03-09 08:11:12 -07:00
nit: reformat long lines
This commit is contained in:
parent
f4badc0883
commit
8b1391a71c
2 changed files with 5 additions and 3 deletions
|
|
@ -118,7 +118,8 @@ possible."
|
|||
auto-save-file-name-transforms
|
||||
`(("\\`/[^/]*:\\([^/]*/\\)*\\([^/]*\\)\\'"
|
||||
,(file-name-concat auto-save-list-file-prefix "tramp-\\2-") sha1)
|
||||
("\\`/\\([^/]+/\\)*\\([^/]+\\)\\'" ,(file-name-concat auto-save-list-file-prefix "\\2-") sha1)))
|
||||
("\\`/\\([^/]+/\\)*\\([^/]+\\)\\'"
|
||||
,(file-name-concat auto-save-list-file-prefix "\\2-") sha1)))
|
||||
|
||||
(add-hook! 'auto-save-hook
|
||||
(defun doom-ensure-auto-save-prefix-exists-h ()
|
||||
|
|
|
|||
|
|
@ -1084,8 +1084,9 @@ between the two."
|
|||
;; link is stored or exported (whether or not they're a pdf link). This
|
||||
;; error gimps org until `pdf-tools-install' is run, but this is poor
|
||||
;; UX, so we suppress it.
|
||||
(defun +org--pdftools-link-handler (fn &rest args)
|
||||
"Produces a link handler for org-pdftools that suppresses missing-epdfinfo errors whenever storing or exporting links."
|
||||
(defun +org--pdftools-link-handler (fn &rest _args)
|
||||
"Produces a link handler for org-pdftools that suppresses missing-epdfinfo
|
||||
errors whenever storing or exporting links."
|
||||
(lambda (&rest args)
|
||||
(and (ignore-errors (require 'org-pdftools nil t))
|
||||
(file-executable-p pdf-info-epdfinfo-program)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue