changeset 42884:5abd84afe99c

Don't require ibuf-ext at load time. (ibuffer): Require ibuf-ext here.
author Richard M. Stallman <rms@gnu.org>
date Mon, 21 Jan 2002 21:33:20 +0000
parents 57c5f7f05f4c
children 8835d93aea0c
files lisp/ibuffer.el
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ibuffer.el	Mon Jan 21 19:23:48 2002 +0000
+++ b/lisp/ibuffer.el	Mon Jan 21 21:33:20 2002 +0000
@@ -36,9 +36,6 @@
   (require 'ibuf-macs)
   (require 'dired))
 
-;; This is loaded lazily, via byte-compile-dynamic
-(require 'ibuf-ext)
-
 ;;; Compatibility
 (eval-and-compile
   (if (fboundp 'window-list)
@@ -1884,6 +1881,11 @@
 Optional argument SHRINK means shrink the buffer to minimal size.  The
 special value `onewindow' means always use another window."
   (interactive "P")
+
+  ;; The individual functions are lazy-loaded, via byte-compile-dynamic,
+  ;; so we may as well load the file unconditionally now.
+  (require 'ibuf-ext)
+
   (when ibuffer-use-other-window
     (setq other-window-p (not other-window-p)))
   (let* ((buf (get-buffer-create (or name "*Ibuffer*")))