| Server IP : 217.160.0.212 / Your IP : 216.73.216.141 Web Server : Apache System : Linux www 6.18.51-i1-ampere #1196 SMP Fri Sep 11 20:43:55 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/ |
Upload File : |
;ELC ;;; Compiled ;;; in Emacs version 28.2 ;;; with all optimizations. (byte-code "\300\301\302\303\304\305%\210\306\307\310\311\312DD\313\314\315\316\317&\210\306\320\310\311\321DD\322\314\315\316\311&\210\306\323\310\311\324DD\325\314\315\316\326&\207" [custom-declare-group dnd nil "Handling data from drag and drop." :group environment custom-declare-variable dnd-protocol-alist funcall function #[0 "\300\301!\302B\300\303!\304B\300\305!\302B\300\306!\304BF\207" [purecopy "^file:///" dnd-open-local-file "^file://" dnd-open-file "^file:" "^\\(https?\\|ftp\\|file\\|nfs\\)://"] 5 #1=""] "The functions to call for different protocols when a drop is made.\nThis variable is used by `dnd-handle-one-url' and `dnd-handle-file-name'.\nThe list contains of (REGEXP . FUNCTION) pairs.\nThe functions shall take two arguments, URL, which is the URL dropped and\nACTION which is the action to be performed for the drop (move, copy, link,\nprivate or ask).\nIf no match is found here, and the value of `browse-url-browser-function'\nis a pair of (REGEXP . FUNCTION), those regexps are tried for a match.\nIf no match is found, the URL is inserted as text by calling `dnd-insert-text'.\nThe function shall return the action done (move, copy, link or private)\nif some action was made, or nil if the URL is ignored." :version "22.1" :type (repeat (cons (regexp) (function))) dnd-open-remote-file-function #[0 "\301=\203 \302\207\303\207" [system-type windows-nt dnd-open-local-file dnd-open-remote-url] 2 #1#] "The function to call when opening a file on a remote machine.\nThe function will be called with two arguments, URI and ACTION.\nSee `dnd-open-file' for details.\nIf nil, then dragging remote files into Emacs will result in an error.\nPredefined functions are `dnd-open-local-file' and `dnd-open-remote-url'.\n`dnd-open-local-file' attempts to open a remote file using its UNC name and\nis the default on MS-Windows. `dnd-open-remote-url' uses `url-handler-mode'\nand is the default except for MS-Windows." dnd-open-file-other-window #[0 "\300\207" [nil] 1 #1#] "If non-nil, always use `find-file-other-window' to open dropped files." boolean] 8) #@427 Handle one dropped url by calling the appropriate handler. The handler is first located by looking at `dnd-protocol-alist'. If no match is found here, `browse-url-handlers' and `browse-url-default-handlers' are searched for a match. If no match is found, just call `dnd-insert-text'. WINDOW is where the drop happened, ACTION is the action for the drop, URL is what has been dropped. Returns ACTION. (fn WINDOW ACTION URL) (defalias 'dnd-handle-one-url #[771 "\301\3022+ \211\203( \211@\303@\"\203! \211A\"\262\304\302\305\"\210A\266\202\202 \210\3010\204V \3022J \306\307\"\211\203G \310\262\211\"\210\304\302\305\"\210\210\3010\204V \311#\210\310\262\207" [dnd-protocol-alist nil done string-match throw t browse-url-select-handler internal private dnd-insert-text] 9 (#$ . 2171)]) #@117 Return an uri converted to file:/// syntax if uri is a local file. Return nil if URI is not a local file. (fn URI) (defalias 'dnd-get-local-file-uri #[257 "\301 \302\303\"\205 \304\305\"\227\302\306\"\203 \304\307\"\202 \227\205E \310=?\205E \311\230\204<