all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.