; 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'.
This commit is contained in:
Basil L. Contovounesios 2020-05-07 18:36:53 +01:00
parent 5b5039caa2
commit 263ab750a5

View file

@ -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)