Fix +lookup/file not opening URLs in browser
This commit is contained in:
parent
437c33a8b2
commit
ecdf2b0b08
1 changed files with 2 additions and 1 deletions
|
@ -271,7 +271,8 @@ otherwise falling back to ffap.el (find-file-at-point)."
|
|||
((if (require 'ffap) (ffap-guesser)))
|
||||
((thing-at-point 'filename t)))))
|
||||
(cond ((and (stringp guess)
|
||||
(file-exists-p guess))
|
||||
(or (file-exists-p guess)
|
||||
(ffap-url-p guess)))
|
||||
(find-file-at-point guess))
|
||||
((and (featurep! :completion ivy)
|
||||
(doom-project-p))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue