For discussion of the autoloaded function declaration, see
https://lists.gnu.org/archive/html/emacs-devel/2020-05/msg00910.html.
* lisp/dnd.el (dnd-handle-one-url): It is no longer necessary to
declare the autoloaded function browse-url-select-handler after
ldefs-boot.el was updated.
* lisp/progmodes/elisp-mode.el: Declare xref.el function to silence
byte-compiler.
(throw 'done t)))
nil)
(catch 'done
- ;; Autoloaded but the byte-compiler still complains.
- (declare-function browse-url-select-handler "browse-url"
- (url &optional kind))
(let ((browser (browse-url-select-handler url 'internal)))
(when browser
(setq ret 'private)
xrefs))
-(declare-function project-external-roots "project")
+(declare-function xref-apropos-regexp "xref" (pattern))
(cl-defmethod xref-backend-apropos ((_backend (eql elisp)) pattern)
(apply #'nconc