From 0e20d76a384a65a238aa09fa00339a1b19496a15 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Fri, 14 Jan 2022 15:28:21 -0500 Subject: [PATCH] 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. --- lisp/vc/pcvs-info.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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." -- 2.39.2