]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix recent byte-compiler warning in dnd.el again
authorBasil L. Contovounesios <contovob@tcd.ie>
Thu, 7 May 2020 17:36:53 +0000 (18:36 +0100)
committerBasil L. Contovounesios <contovob@tcd.ie>
Thu, 7 May 2020 17:39:48 +0000 (18:39 +0100)
* lisp/dnd.el (dnd-handle-one-url): Declare new autoloaded function
browse-url-select-handler to silence the byte-compiler during 'make
bootstrap'.

lisp/dnd.el

index c185794d6eac5bf8c827f271052b5055bee65b38..102bc752b07417e23f9a4dc5175d9d74d077413d 100644 (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)