|
From: | Glenn Morris |
Subject: | Re: Can the byte-compiler check whether functions passed by name are defined? |
Date: | Wed, 07 Aug 2013 17:11:35 -0400 |
User-agent: | Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Stefan Monnier wrote: > I installed the patch below which checks that #'foo refers to a function > that will exist. It seems overly pessimistic: foo.el: (defun foo (&rest args) t) (defun foo2 () (mapcar #'foo '(1 2 3))) Byte-compile foo.el: In end of data: foo.el:6:1:Warning: the function `foo' is not known to be defined.
[Prev in Thread] | Current Thread | [Next in Thread] |