emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 172dfac: declare-function doc string clarification about FILE


From: Lars Ingebrigtsen
Subject: master 172dfac: declare-function doc string clarification about FILE
Date: Fri, 23 Jul 2021 09:12:17 -0400 (EDT)

branch: master
commit 172dfac035d471f40d456a559518944ce47b337a
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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 49c26cc..59a1af0 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]