Find File At Point
Find File At Point, also known generally as “ffap”, is an intelligent system for opening files and URLs.
The following expression will make Ido guess the context:
emacs-lisp
(setq ido-use-filename-at-point 'guess)You can disable URL ffap support by toggling ido-use-url-at-point.
User Option: ido-use-url-at-point
If the value of this user option is non-nil, Ido will look for a URL at point. If found, call find-file-at-point to visit it.