emacs-diffs
[Top][All Lists]
Advanced

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

master 281b9e4: ; Fix recent byte-compiler warnings in dnd.el


From: Basil L. Contovounesios
Subject: master 281b9e4: ; Fix recent byte-compiler warnings in dnd.el
Date: Wed, 6 May 2020 20:55:12 -0400 (EDT)

branch: master
commit 281b9e42a49c72be48f881f94a5ec33537508118
Author: Basil L. Contovounesios <address@hidden>
Commit: Basil L. Contovounesios <address@hidden>

    ; Fix recent byte-compiler warnings in dnd.el
    
    * lisp/dnd.el (dnd-handle-one-url): Don't require browse-url twice
    in the same function.  Declare non-autoloaded browse-url-handlers to
    silence byte-compiler.
---
 lisp/dnd.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/dnd.el b/lisp/dnd.el
index 2f7b16c..b649e72 100644
--- a/lisp/dnd.el
+++ b/lisp/dnd.el
@@ -102,7 +102,7 @@ is what has been dropped.  Returns ACTION."
           (throw 'done t)))
        nil)
      (catch 'done
-       (require 'browse-url) ;; browse-url-handlers is not autoloaded.
+       (defvar browse-url-handlers) ;; Not autoloaded.
        (dolist (bf (append
                     ;; The alist choice of browse-url-browser-function
                     ;; is deprecated since 28.1, so the (unless ...)



reply via email to

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