From: Basil L. Contovounesios Date: Thu, 7 May 2020 17:36:53 +0000 (+0100) Subject: ; Fix recent byte-compiler warning in dnd.el again X-Git-Tag: emacs-28.0.90~7415 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=263ab750a5963af837fd69647071faa92093011c;p=emacs.git ; 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'. --- 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)