diff options
| author | Juanma Barranquero | 2008-12-04 23:58:14 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2008-12-04 23:58:14 +0000 |
| commit | e19fff38eade67f02c8fc5b80f88e088210cd67f (patch) | |
| tree | 8bb4cc04d5dfd9bac2d85f734d53a73a3450d4db /lisp/ibuffer.el | |
| parent | b0a1b6f3494b87425c2ae5e050a36742e37df8f6 (diff) | |
| download | emacs-e19fff38eade67f02c8fc5b80f88e088210cd67f.tar.gz emacs-e19fff38eade67f02c8fc5b80f88e088210cd67f.zip | |
* ibuffer.el (ibuffer-sort-bufferlist): Require ibuf-ext
if the sorting functions are not loaded. (Bug#1432)
Diffstat (limited to 'lisp/ibuffer.el')
| -rw-r--r-- | lisp/ibuffer.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el index 262f2ad73ab..2aeaf7e1111 100644 --- a/lisp/ibuffer.el +++ b/lisp/ibuffer.el | |||
| @@ -2191,6 +2191,9 @@ If optional arg SILENT is non-nil, do not display progress messages." | |||
| 2191 | ibuffer-header-line-format))) | 2191 | ibuffer-header-line-format))) |
| 2192 | 2192 | ||
| 2193 | (defun ibuffer-sort-bufferlist (bmarklist) | 2193 | (defun ibuffer-sort-bufferlist (bmarklist) |
| 2194 | (unless ibuffer-sorting-functions-alist | ||
| 2195 | ;; make sure the sorting functions are loaded | ||
| 2196 | (require 'ibuf-ext)) | ||
| 2194 | (let* ((sortdat (assq ibuffer-sorting-mode | 2197 | (let* ((sortdat (assq ibuffer-sorting-mode |
| 2195 | ibuffer-sorting-functions-alist)) | 2198 | ibuffer-sorting-functions-alist)) |
| 2196 | (func (caddr sortdat))) | 2199 | (func (caddr sortdat))) |