Skip to content

Commit

Permalink
Org-open-file using eaf
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhenhua Wang authored and manateelazycat committed Oct 11, 2024
1 parent 4310ecd commit 60466a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eaf.el
Original file line number Diff line number Diff line change
Expand Up @@ -1981,6 +1981,7 @@ You can configure a blacklist using `eaf-find-file-ext-blacklist'"
It currently identifies PDF, videos, images, and mindmap file extensions."
(eaf--find-file orig-fn file nil args))
(advice-add #'find-file :around #'eaf--find-file-advisor)
(advice-add #'org-open-file :around #'eaf--find-file-advisor)

;; Use `eaf-open' in `dired-find-file' and `dired-find-alternate-file'
(defun eaf--dired-find-file-advisor (orig-fn)
Expand Down

0 comments on commit 60466a7

Please sign in to comment.