unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Elint and require
@ 2013-03-31 18:44 Joe Riel
  0 siblings, 0 replies; only message in thread
From: Joe Riel @ 2013-03-31 18:44 UTC (permalink / raw)
  To: Help GNU Emacs

Does elint use the require statements.
Consider two files

--- dummy.el ---
(require 'required)

(defun junk ()
  (garbage))
--- end dummy.el ---
--- required.el ----
(defun garbage ()
  (message "hello"))

(provide 'required)
--- end required.el ---

If I run elint-directory on the directory
containing just these two files, the elint 
buffer contains:

Linting file /home/joe/emacs/elint-testing/dummy.el at Sun Mar 31 11:42:43 2013

In function junk:
dummy.el:3:Error: Call to undefined function: garbage

Linting file /home/joe/emacs/elint-testing/required.el at Sun Mar 31 11:42:43 2013

Why is that error generated?

-- 
Joe Riel




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-03-31 18:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-31 18:44 Elint and require Joe Riel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).