# HG changeset patch # User Juanma Barranquero # Date 1228435094 0 # Node ID 518a4346ef6807fef20b6544ca77aff47838f05a # Parent 30b26566d8998cf54c7dc4c026272ff32b8e20d7 * ibuffer.el (ibuffer-sort-bufferlist): Require ibuf-ext if the sorting functions are not loaded. (Bug#1432) diff -r 30b26566d899 -r 518a4346ef68 lisp/ChangeLog --- a/lisp/ChangeLog Thu Dec 04 23:16:45 2008 +0000 +++ b/lisp/ChangeLog Thu Dec 04 23:58:14 2008 +0000 @@ -1,3 +1,8 @@ +2008-12-04 Juanma Barranquero + + * ibuffer.el (ibuffer-sort-bufferlist): Require ibuf-ext + if the sorting functions are not loaded. (Bug#1432) + 2008-12-04 Sam Steingold * progmodes/compile.el (compilation-read-command): Extracted from @@ -11817,7 +11822,6 @@ systems without 12 months per year. (calendar-date-is-visible-p): Doc fix. Simplify. - * calendar/holidays.el (holiday-filter-visible-calendar): Return result from dolist. diff -r 30b26566d899 -r 518a4346ef68 lisp/ibuffer.el --- a/lisp/ibuffer.el Thu Dec 04 23:16:45 2008 +0000 +++ b/lisp/ibuffer.el Thu Dec 04 23:58:14 2008 +0000 @@ -2191,6 +2191,9 @@ ibuffer-header-line-format))) (defun ibuffer-sort-bufferlist (bmarklist) + (unless ibuffer-sorting-functions-alist + ;; make sure the sorting functions are loaded + (require 'ibuf-ext)) (let* ((sortdat (assq ibuffer-sorting-mode ibuffer-sorting-functions-alist)) (func (caddr sortdat)))