Arash Esbati <ar...@gnu.org> writes: >>> | tex-info.el: Warning: the function ‘cl-member’ might not be defined at >>> | runtime. >> >> That's more or less a false positive given that auctex depends on >> Emacs 27.1 and cl-member is an autoloaded function there (and even in >> much older emacs releases). > > I'm not sure I follow. I'm running Emacs from master and I see: > > ,----[ C-h f cl-member RET ] > | cl-member is an autoloaded native-comp-function in ‘cl-seq.el’. > `---- > > And `cl-member' isn't used in AUCTeX, try: > > $ git grep cl-member > > What am I missing?
Hah, interesting! tex-info.el uses cl-pushnew which expands to something with cl-adjoin which has a compiler macro cl-compiler-macro-adjoin which could expand to something with cl-member (but doesn't in this case, I think)... I can reproduce that with this example file: --8<---------------cut here---------------start------------->8--- ;; -*- lexical-binding: t; -*- (eval-when-compile (require 'cl-lib)) (defun foo () (let ((s (list 'a 'b))) (cl-pushnew (list 1 2 3) s :test (lambda (_a _b) nil)))) --8<---------------cut here---------------end--------------->8--- I'll file an emacs bug report. Bye, Tassilo