diff options
author | Basil L. Contovounesios <contovob@tcd.ie> | 2020-05-07 18:36:53 +0100 |
---|---|---|
committer | Basil L. Contovounesios <contovob@tcd.ie> | 2020-05-07 18:39:48 +0100 |
commit | 263ab750a5963af837fd69647071faa92093011c (patch) | |
tree | 1bff37ae47aa6869cff9a07aef81bfd33d44ac3d /lisp/dnd.el | |
parent | 5b5039caa2ed5fa019cb788b04bd455e482eccf5 (diff) | |
download | emacs-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.el | 2 |
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) |