2004-01-07 Steve Youngs <sryoungs@bigpond.net.au>
authorSteve Youngs <steve@sxemacs.org>
Tue, 6 Jan 2004 15:17:12 +0000 (15:17 +0000)
committerSteve Youngs <steve@sxemacs.org>
Tue, 6 Jan 2004 15:17:12 +0000 (15:17 +0000)
* run-at-time.el (run-at-time-saved): Move to after the definition
of `run-at-time'.

* dgnushack.el: Autoload `font-lock-fontify-buffer' in XEmacs.

Fixes a truck load of byte-compiler warnings under XEmacs.

lisp/ChangeLog
lisp/dgnushack.el
lisp/run-at-time.el

index 23a449d..6b78316 100644 (file)
@@ -1,3 +1,10 @@
+2004-01-07  Steve Youngs  <sryoungs@bigpond.net.au>
+
+       * run-at-time.el (run-at-time-saved): Move to after the definition
+       of `run-at-time'.
+
+       * dgnushack.el: Autoload `font-lock-fontify-buffer' in XEmacs.
+
 2004-01-06  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * gnus-art.el (gnus-article-wash-html-with-w3m): Don't use
index 449c956..4bc684b 100644 (file)
@@ -148,6 +148,7 @@ than subr.el."
     (autoload 'dolist "cl-macs" nil nil 'macro)
     (autoload 'enriched-decode "enriched")
     (autoload 'executable-find "executable")
+    (autoload 'font-lock-fontify-buffer "font-lock" nil t)
     (autoload 'info "info" nil t)
     (autoload 'make-annotation "annotations")
     (autoload 'make-display-table "disp-table")
index 25c3efd..0b41938 100644 (file)
@@ -26,8 +26,6 @@
 ;; XEmacs has a buggy version of run-at-time.  This file defines a
 ;; non-buggy version of the same.
 
-(defvar run-at-time-saved (symbol-function 'run-at-time))
-
 (require 'itimer)
 
 (eval-and-compile
@@ -96,6 +94,8 @@ or `cancel-timer'."
                    1e-9 (if time (max time 1e-9) 1e-9)
                    nil t itimers repeat function args))))))))
 
+(defvar run-at-time-saved (symbol-function 'run-at-time))
+
 (provide 'run-at-time)
 
 ;;; run-at-time.el ends here