mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-07 12:47:30 -05:00
Merge pull request #5232 from samrjack/fix-pdf-blocking-issue
Prevent extra variable from being passed in macro.
This commit is contained in:
@ -126,7 +126,9 @@
|
||||
(defadvice! +pdf-suppress-large-file-prompts-a (orig-fn size op-type filename &optional offer-raw)
|
||||
:around #'abort-if-file-too-large
|
||||
(unless (string-match-p "\\.pdf\\'" filename)
|
||||
(funcall orig-fn size op-type filename offer-raw))))
|
||||
(if offer-raw
|
||||
(funcall orig-fn size op-type filename offer-raw)
|
||||
(funcall orig-fn size op-type filename)))))
|
||||
|
||||
|
||||
(use-package! saveplace-pdf-view
|
||||
|
Reference in New Issue
Block a user