summaryrefslogtreecommitdiff
path: root/lisp/dnd.el
diff options
context:
space:
mode:
authorBasil L. Contovounesios <contovob@tcd.ie>2020-05-07 18:36:53 +0100
committerBasil L. Contovounesios <contovob@tcd.ie>2020-05-07 18:39:48 +0100
commit263ab750a5963af837fd69647071faa92093011c (patch)
tree1bff37ae47aa6869cff9a07aef81bfd33d44ac3d /lisp/dnd.el
parent5b5039caa2ed5fa019cb788b04bd455e482eccf5 (diff)
downloademacs-263ab750a5963af837fd69647071faa92093011c.tar.gz
; Fix recent byte-compiler warning in dnd.el again
* lisp/dnd.el (dnd-handle-one-url): Declare new autoloaded function browse-url-select-handler to silence the byte-compiler during 'make bootstrap'.
Diffstat (limited to 'lisp/dnd.el')
-rw-r--r--lisp/dnd.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/dnd.el b/lisp/dnd.el
index c185794d6ea..102bc752b07 100644
--- a/lisp/dnd.el
+++ b/lisp/dnd.el
@@ -101,6 +101,8 @@ is what has been dropped. Returns ACTION."
(throw 'done t)))
nil)
(catch 'done
+ ;; Autoloaded but the byte-compiler still complains.
+ (declare-function browse-url-select-handler "browse-url" (url))
(let ((browser (browse-url-select-handler url)))
(when browser
(setq ret 'private)