From: Stefan Monnier Date: Fri, 14 Jan 2022 20:28:21 +0000 (-0500) Subject: pcvs-info.el: Prefer `declare-function` over `autoload` X-Git-Tag: emacs-29.0.90~3046 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0e20d76a384a65a238aa09fa00339a1b19496a15;p=emacs.git pcvs-info.el: Prefer `declare-function` over `autoload` * lisp/vc/pcvs-info.el (cvs-mode-toggle-mark): Use `declare-function` to silence the byte-compiler warning. --- diff --git a/lisp/vc/pcvs-info.el b/lisp/vc/pcvs-info.el index 341fa243cfa..f5520e19ce6 100644 --- a/lisp/vc/pcvs-info.el +++ b/lisp/vc/pcvs-info.el @@ -130,7 +130,7 @@ to confuse some users sometimes." (defvar cvs-bakprefix ".#" "The prefix that CVS prepends to files when rcsmerge'ing.") -(autoload 'cvs-mode-toggle-mark "pcvs") +(declare-function 'cvs-mode-toggle-mark "pcvs" (e)) (defvar-keymap cvs-status-map :doc "Local keymap for text properties of status."