]> git.eshelyaron.com Git - emacs.git/commit
* lisp/ffap.el (ffap-read-file-or-url): Use `read-file-name`
authorThierry Volpiatto <thierry.volpiatto@gmail.com>
Fri, 8 Nov 2019 15:20:40 +0000 (10:20 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 8 Nov 2019 15:20:40 +0000 (10:20 -0500)
commit0a51c7012268d764ac4282b5969e4901ebeabfdb
tree04c4b567f846f0ee93f483ea3a28755a3e8fad4e
parent05167c1173c4a6c6850ba62da6757760e2df3507
* lisp/ffap.el (ffap-read-file-or-url): Use `read-file-name`

Since we use `url-handler-mode` to deal with URLs, `read-file-name`
works just as well, with the added benefit that it interacts correctly
with packages that rebind `read-file-name-function`, such as Helm.

(ffap-read-url-internal, ffap-read-file-or-url-internal): Remove, unused.
lisp/ffap.el