GNU bug report logs - #27006
26.0.50; Elint reports false 'undefined function' errors

Previous Next

Package: emacs;

Reported by: Tino Calancha <tino.calancha <at> gmail.com>

Date: Sat, 20 May 2017 13:09:01 UTC

Severity: minor

Tags: fixed

Found in version 26.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Tino Calancha <tino.calancha <at> gmail.com>
Cc: 27006 <at> debbugs.gnu.org
Subject: bug#27006: 26.0.50; Elint reports false 'undefined function' errors
Date: Sat, 12 Dec 2020 14:14:57 +0100
Tino Calancha <tino.calancha <at> gmail.com> 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




This bug report was last modified 4 years and 220 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.