]> git.eshelyaron.com Git - emacs.git/commitdiff
pcvs-info.el: Prefer `declare-function` over `autoload`
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 14 Jan 2022 20:28:21 +0000 (15:28 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 14 Jan 2022 20:28:21 +0000 (15:28 -0500)
* lisp/vc/pcvs-info.el (cvs-mode-toggle-mark): Use `declare-function`
to silence the byte-compiler warning.

lisp/vc/pcvs-info.el

index 341fa243cfa90c568adb1cccbee988d66744a849..f5520e19ce6d3cdf15b8d1f91a4c47f020e07a48 100644 (file)
@@ -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."