summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2007-12-05 03:36:23 +0000
committerGlenn Morris <rgm@gnu.org>2007-12-05 03:36:23 +0000
commita342aca45cc34d5a6a7e70eff177425dcd23fbb9 (patch)
tree81d18ac407a6b2b6813cfe304be0c58e5b0a1017 /lisp/emacs-lisp
parentf30cf46cc43fb8fa458ed071a57f4ef3a0dcc86d (diff)
downloademacs-a342aca45cc34d5a6a7e70eff177425dcd23fbb9.tar.gz
emacs-a342aca45cc34d5a6a7e70eff177425dcd23fbb9.tar.bz2
emacs-a342aca45cc34d5a6a7e70eff177425dcd23fbb9.zip
(byte-compile-declare-function): Remove declared function from
byte-compile-noruntime-functions.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/bytecomp.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index e6418a5e331..4ef32a244eb 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -2828,6 +2828,9 @@ If FORM is a lambda or a macro, byte-compile it as a function."
(list 'declared (nth 3 form))
t)) ; arglist not specified
byte-compile-function-environment)
+ ;; We are stating that it _will_ be defined at runtime.
+ (setq byte-compile-noruntime-functions
+ (delq (nth 1 form) byte-compile-noruntime-functions))
nil)