summaryrefslogtreecommitdiff
path: root/lisp/ffap.el
diff options
context:
space:
mode:
authorStephen Berman <stephen.berman@gmx.net>2021-08-11 18:06:13 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-08-11 18:06:19 +0200
commitb81de1be90ce287b5aa6d859317c157d988e8cb0 (patch)
tree4f1ae13a4cd35ddafd353089dc40d18e2bd623c3 /lisp/ffap.el
parent7dbbe6cbc54b9331f7b32aa8ce96f6eeadfb0dcd (diff)
downloademacs-b81de1be90ce287b5aa6d859317c157d988e8cb0.tar.gz
Fix URL entry in ffap after previous change
* lisp/ffap.el (ffap-read-file-or-url): Make URL entry actually work again (bug#50011).
Diffstat (limited to 'lisp/ffap.el')
-rw-r--r--lisp/ffap.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ffap.el b/lisp/ffap.el
index 635e9814f12..84dcc04a712 100644
--- a/lisp/ffap.el
+++ b/lisp/ffap.el
@@ -1543,7 +1543,7 @@ which may actually result in an URL rather than a filename."
(progn
(push elem file-name-handler-alist)
(if (ffap-url-p guess)
- (read-file-name prompt guess)
+ (read-file-name prompt guess guess)
(unless guess
(setq guess default-directory))
(unless (ffap-file-remote-p guess)