From e19fff38eade67f02c8fc5b80f88e088210cd67f Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Thu, 4 Dec 2008 23:58:14 +0000 Subject: [PATCH] * ibuffer.el (ibuffer-sort-bufferlist): Require ibuf-ext if the sorting functions are not loaded. (Bug#1432) --- lisp/ChangeLog | 6 +++++- lisp/ibuffer.el | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 32393579676..b77dee17d56 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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 --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." 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))) -- 2.39.2