nit: reformat long lines

This commit is contained in:
Henrik Lissner 2026-02-22 01:46:22 -05:00
parent f4badc0883
commit 8b1391a71c
No known key found for this signature in database
GPG key ID: B60957CA074D39A3
2 changed files with 5 additions and 3 deletions

View file

@ -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 ()

View file

@ -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)