mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix +lookup/file not opening URLs in browser
This commit is contained in:
@ -271,7 +271,8 @@ otherwise falling back to ffap.el (find-file-at-point)."
|
|||||||
((if (require 'ffap) (ffap-guesser)))
|
((if (require 'ffap) (ffap-guesser)))
|
||||||
((thing-at-point 'filename t)))))
|
((thing-at-point 'filename t)))))
|
||||||
(cond ((and (stringp guess)
|
(cond ((and (stringp guess)
|
||||||
(file-exists-p guess))
|
(or (file-exists-p guess)
|
||||||
|
(ffap-url-p guess)))
|
||||||
(find-file-at-point guess))
|
(find-file-at-point guess))
|
||||||
((and (featurep! :completion ivy)
|
((and (featurep! :completion ivy)
|
||||||
(doom-project-p))
|
(doom-project-p))
|
||||||
|
Reference in New Issue
Block a user