* lisp/ffap.el (ffap-read-file-or-url): Put point at the end of
URLs (bug#44822).
(ffap--url-file-handler): Remove hack for default dirs.
(cl-case operation
;; We mainly just want to disable these bits:
(substitute-in-file-name (car args))
- (expand-file-name
- (if (equal (car args) "http://<remove>")
- ""
- (car args)))
+ (expand-file-name (car args))
(otherwise
(apply operation args)))))
(progn
(push elem file-name-handler-alist)
(if (ffap-url-p guess)
- (read-file-name prompt "http://<remove>" nil nil guess)
+ (read-file-name prompt guess)
(unless guess
(setq guess default-directory))
(unless (ffap-file-remote-p guess)