emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 263ab75: ; Fix recent byte-compiler warning in dnd.el again


From: Basil L. Contovounesios
Subject: master 263ab75: ; Fix recent byte-compiler warning in dnd.el again
Date: Thu, 7 May 2020 13:40:21 -0400 (EDT)

branch: master
commit 263ab750a5963af837fd69647071faa92093011c
Author: Basil L. Contovounesios <address@hidden>
Commit: Basil L. Contovounesios <address@hidden>

    ; 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'.
---
 lisp/dnd.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/dnd.el b/lisp/dnd.el
index c185794..102bc75 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]