Function: dnd-open-remote-url
dnd-open-remote-url is a byte-compiled function defined in dnd.el.gz.
Signature
(dnd-open-remote-url URI ACTION)
Documentation
Open a remote file with find-file and url-handler-mode(var)/url-handler-mode(fun).
Turns url-handler-mode(var)/url-handler-mode(fun) on if not on before. The file is opened in the
current window, or a new window if dnd-open-file-other-window is set.
URI is the url for the file. ACTION is ignored.
Source Code
;; Defined in /usr/src/emacs/lisp/dnd.el.gz
(defun dnd-open-remote-url (uri _action)
"Open a remote file with `find-file' and `url-handler-mode'.
Turns `url-handler-mode' on if not on before. The file is opened in the
current window, or a new window if `dnd-open-file-other-window' is set.
URI is the url for the file. ACTION is ignored."
(progn
(require 'url-handlers)
(or url-handler-mode (url-handler-mode))
(if dnd-open-file-other-window
(find-file-other-window uri)
(find-file uri))
'private))