summaryrefslogtreecommitdiff
path: root/lisp/ibuffer.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2002-01-21 21:33:33 +0000
committerRichard M. Stallman <rms@gnu.org>2002-01-21 21:33:33 +0000
commit5b2977e461a9aad99725d1dd81fe7ec4a3349e48 (patch)
treeb91487bdb6ee0ecdd514031f5d0c6f148f8a5290 /lisp/ibuffer.el
parent5f9338d54b4d2888add8d600a8329935afe46db6 (diff)
downloademacs-5b2977e461a9aad99725d1dd81fe7ec4a3349e48.tar.gz
Don't require ibuf-ext at load time.
(ibuffer): Require ibuf-ext here.
Diffstat (limited to 'lisp/ibuffer.el')
-rw-r--r--lisp/ibuffer.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el
index 6cade5ae752..4de63a51dba 100644
--- a/lisp/ibuffer.el
+++ b/lisp/ibuffer.el
@@ -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*")))