]> git.eshelyaron.com Git - emacs.git/commitdiff
; Update recent function declaration in dnd.el
authorBasil L. Contovounesios <contovob@tcd.ie>
Thu, 7 May 2020 20:40:09 +0000 (21:40 +0100)
committerBasil L. Contovounesios <contovob@tcd.ie>
Thu, 7 May 2020 20:40:09 +0000 (21:40 +0100)
* lisp/dnd.el (dnd-handle-one-url): Update arglist declaration for
browse-url-select-handler following recent change.

lisp/dnd.el

index 298241bf1749bee9e1dc547e6503b54c40eed6c7..f47f4a2c30e3021a73d85c414195e09056a3731d 100644 (file)
@@ -102,7 +102,8 @@ is what has been dropped.  Returns ACTION."
        nil)
      (catch 'done
        ;; Autoloaded but the byte-compiler still complains.
-       (declare-function browse-url-select-handler "browse-url" (url))
+       (declare-function browse-url-select-handler "browse-url"
+                         (url &optional kind))
        (let ((browser (browse-url-select-handler url 'internal)))
          (when browser
            (setq ret 'private)