From 172dfac035d471f40d456a559518944ce47b337a Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 23 Jul 2021 15:12:03 +0200 Subject: [PATCH] declare-function doc string clarification about FILE * lisp/subr.el (declare-function): Mention that FILE can be nil (bug#21466). --- lisp/subr.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/subr.el b/lisp/subr.el index 49c26cc0d33..59a1af01ba6 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -31,7 +31,8 @@ "Tell the byte-compiler that function FN is defined, in FILE. The FILE argument is not used by the byte-compiler, but by the `check-declare' package, which checks that FILE contains a -definition for FN. +definition for FN. (FILE can be nil, and that disables this +check.) FILE can be either a Lisp file (in which case the \".el\" extension is optional), or a C file. C files are expanded -- 2.39.2