diff options
author | Alan Mackenzie <acm@muc.de> | 2015-11-21 18:43:57 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2015-11-21 18:43:57 +0000 |
commit | ab4df9ce7d57bb391e56ddd5feee3d227bfce76d (patch) | |
tree | 178b46b507e0abfda1913f88c749fea48d725398 /lisp/emacs-lisp/cl-generic.el | |
parent | d696d62fea48096680d6d511a71c4df56d00a51f (diff) | |
download | emacs-fix/not-defined-at-runtime.tar.gz |
Byte compiler: fix spurious warnings "might not be defined at runtime".fix/not-defined-at-runtime
Also initialize byte-compile-noruntime-functions between runs.
bytecomp.el (byte-compile-new-defuns): New variable.
(byte-compile-initial-macro-environment): For eval-when-compile: bind
byte-compile-unresolved-functions and byte-compile-new-defuns around
byte-compile-top-level, to prevent spurious entries being made.
(byte-compile-warn-about-unresolved-functions): Check whether function is in
byte-compile-new-defuns before emitting a warning about it.
(byte-compile-from-buffer): Initialize new variable and
byte-compile-noruntime-functions to nil.
(byte-compile-file-form-require): record all new functions defined by a
`require' in byte-compile-new-defuns.
(byte-compile-file-form-defmumble): record the new alias in
byte-compile-new-defuns.
Diffstat (limited to 'lisp/emacs-lisp/cl-generic.el')
0 files changed, 0 insertions, 0 deletions