Subject: bug#27006: 26.0.50; Elint reports false 'undefined function' errors

From: Lars Ingebrigtsen <[email-masked]>
Date: Sat, 12 Dec 2020 14:14:57 +0100

Tino Calancha <[email-masked]> writes:

> Write a file /tmp/foo.el with contents:
>
> (defun foo-find ()
>   (require 'find-lisp)
>   (find-lisp-find-files default-directory "\\`foo.*"))
>
> emacs -Q /tmp/foo.el
>
> M-x elint-current-buffer RET
> ;; It shows:
> foo-fail.el:1:Error: Call to undefined function: find-lisp-find-files

I've now made elint in Emacs 28 load files that are `require'd, which
seems to fix this problem.  I've next to no experience using elint,
though, so somebody please let me know if the leads to any problems.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no