Skip to content

Commit

Permalink
[bootstrap] Handle deferred loading in pdf workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
fnussbaum authored and smile13241324 committed Sep 1, 2024
1 parent 9f88e77 commit b5b439b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layers/+distributions/spacemacs-bootstrap/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@

;; evil-refresh-cursor is called as part of the window-configuration-change-hook
;; and seems to induce performance problems
(when (boundp 'pdf-view-mode)
(with-eval-after-load 'pdf-view
(advice-add 'evil-refresh-cursor :around #'spacemacs/not-in-pdf-view-mode))

(when vim-style-enable-undo-region
Expand Down

0 comments on commit b5b439b

Please sign in to comment.