diff options
| author | Richard M. Stallman | 2002-01-21 21:33:33 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-01-21 21:33:33 +0000 |
| commit | 5b2977e461a9aad99725d1dd81fe7ec4a3349e48 (patch) | |
| tree | b91487bdb6ee0ecdd514031f5d0c6f148f8a5290 | |
| parent | 5f9338d54b4d2888add8d600a8329935afe46db6 (diff) | |
| download | emacs-5b2977e461a9aad99725d1dd81fe7ec4a3349e48.tar.gz emacs-5b2977e461a9aad99725d1dd81fe7ec4a3349e48.zip | |
Don't require ibuf-ext at load time.
(ibuffer): Require ibuf-ext here.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/ibuffer.el | 8 |
2 files changed, 10 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f45da8fa8af..47b3e1de0a4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2002-01-21 Richard M. Stallman <rms@gnu.org> | ||
| 2 | |||
| 3 | * ibuffer.el: Don't require ibuf-ext at load time. | ||
| 4 | (ibuffer): Require ibuf-ext here. | ||
| 5 | |||
| 1 | 2002-01-21 Francesco Potorti` <pot@gnu.org> | 6 | 2002-01-21 Francesco Potorti` <pot@gnu.org> |
| 2 | 7 | ||
| 3 | * generic-x.el (apache-conf-generic-mode): Highlight the first | 8 | * generic-x.el (apache-conf-generic-mode): Highlight the first |
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 @@ | |||
| 36 | (require 'ibuf-macs) | 36 | (require 'ibuf-macs) |
| 37 | (require 'dired)) | 37 | (require 'dired)) |
| 38 | 38 | ||
| 39 | ;; This is loaded lazily, via byte-compile-dynamic | ||
| 40 | (require 'ibuf-ext) | ||
| 41 | |||
| 42 | ;;; Compatibility | 39 | ;;; Compatibility |
| 43 | (eval-and-compile | 40 | (eval-and-compile |
| 44 | (if (fboundp 'window-list) | 41 | (if (fboundp 'window-list) |
| @@ -1884,6 +1881,11 @@ Optional argument NOSELECT means don't select the Ibuffer buffer. | |||
| 1884 | Optional argument SHRINK means shrink the buffer to minimal size. The | 1881 | Optional argument SHRINK means shrink the buffer to minimal size. The |
| 1885 | special value `onewindow' means always use another window." | 1882 | special value `onewindow' means always use another window." |
| 1886 | (interactive "P") | 1883 | (interactive "P") |
| 1884 | |||
| 1885 | ;; The individual functions are lazy-loaded, via byte-compile-dynamic, | ||
| 1886 | ;; so we may as well load the file unconditionally now. | ||
| 1887 | (require 'ibuf-ext) | ||
| 1888 | |||
| 1887 | (when ibuffer-use-other-window | 1889 | (when ibuffer-use-other-window |
| 1888 | (setq other-window-p (not other-window-p))) | 1890 | (setq other-window-p (not other-window-p))) |
| 1889 | (let* ((buf (get-buffer-create (or name "*Ibuffer*"))) | 1891 | (let* ((buf (get-buffer-create (or name "*Ibuffer*"))) |