]> code.delx.au - gnu-emacs/commitdiff
Don't require ibuf-ext at load time.
authorRichard M. Stallman <rms@gnu.org>
Mon, 21 Jan 2002 21:33:33 +0000 (21:33 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 21 Jan 2002 21:33:33 +0000 (21:33 +0000)
(ibuffer): Require ibuf-ext here.

lisp/ChangeLog
lisp/ibuffer.el

index f45da8fa8af954e9bcfd88b0a515584b247701b0..47b3e1de0a45c662d26e219dcefec68c8e74fbc0 100644 (file)
@@ -1,3 +1,8 @@
+2002-01-21  Richard M. Stallman  <rms@gnu.org>
+
+       * ibuffer.el: Don't require ibuf-ext at load time.
+       (ibuffer): Require ibuf-ext here.
+
 2002-01-21  Francesco Potorti`  <pot@gnu.org>
 
        * generic-x.el (apache-conf-generic-mode): Highlight the first
index 6cade5ae752821d373147efeec0aa4efc6dc0fec..4de63a51dbac2160b1b2e64b15d3d8f22c00bb23 100644 (file)
@@ -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 NOSELECT means don't select the Ibuffer buffer.
 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*")))