branch: externals/org commit 12d99297161cb0edda2ef9c56cf332e42ad3b951 Author: Eli Zaretskii <e...@gnu.org> Commit: Kyle Meyer <k...@kyleam.com>
Backport commit 7eb8596ff from Emacs * lisp/org.el (dnd-open-local-file): Declare. ; Fix warnings in a tty-only build on MS-Windows 7eb8596ff5f1964f91664a6b7cac3199a5af5ba7 Eli Zaretskii Sun Jan 5 11:03:07 2025 +0200 --- lisp/org.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/org.el b/lisp/org.el index 6a8a45a9e4..a11eee9429 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -20917,6 +20917,8 @@ URLS is a list of file URL." (put 'org--dnd-multi-local-file-handler 'dnd-multiple-handler t) +(declare-function dnd-open-local-file "dnd" (uri action)) + (defun org--dnd-local-file-handler (url action &optional separator) "Handle file URL as per ACTION. SEPARATOR is the string to insert after each link. It may be nil