mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
; 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.
This commit is contained in:
parent
86fef6ab89
commit
281b9e42a4
1 changed files with 1 additions and 1 deletions
|
|
@ -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 ...)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue