From a342aca45cc34d5a6a7e70eff177425dcd23fbb9 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 5 Dec 2007 03:36:23 +0000 Subject: [PATCH] (byte-compile-declare-function): Remove declared function from byte-compile-noruntime-functions. --- lisp/ChangeLog | 18 ++++++++++++++++++ lisp/emacs-lisp/bytecomp.el | 3 +++ 2 files changed, 21 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3318864873e..baddff10bac 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,21 @@ +2007-12-05 Glenn Morris + + * emacs-lisp/bytecomp.el (byte-compile-declare-function): Remove + declared function from byte-compile-noruntime-functions. + + * ediff-util.el (ediff-version): + * progmodes/python.el (compilation-shell-minor-mode): + * textmodes/org.el (Info-goto-node, calendar-astro-date-string) + (calendar-bahai-date-string, calendar-check-holidays) + (calendar-chinese-date-string, calendar-coptic-date-string) + (calendar-ethiopic-date-string, calendar-forward-day) + (calendar-french-date-string, calendar-goto-date) + (calendar-goto-today, calendar-hebrew-date-string) + (calendar-islamic-date-string, calendar-iso-date-string) + (calendar-julian-date-string, calendar-mayan-date-string) + (calendar-persian-date-string, gnus-summary-last-subject) + (parse-time-string, rmail-show-message): Declare as functions. + 2007-12-05 Michael Olson * textmodes/remember.el: Merge contents of remember-diary.el here, 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) -- 2.39.2