comparison lisp/ibuffer.el @ 72564:976ef29e497e

* woman.el (woman-follow): New function, based on `man-follow'. (woman-mode-map): Use it. * ibuffer.el (ibuffer-do-sort-by-recency): Perform full update since ibuffer-do-sort-by-recency does not define a sorter.
author Chong Yidong <cyd@stupidchicken.com>
date Mon, 28 Aug 2006 15:40:21 +0000
parents 88cafd01cf48
children e3694f1cb928 c358d0861b16
comparison
equal deleted inserted replaced
72563:b35915fd7ce7 72564:976ef29e497e
1970 (or ibuffer-view-ibuffer 1970 (or ibuffer-view-ibuffer
1971 (and ibuffer-buf 1971 (and ibuffer-buf
1972 (not (eq ibuffer-buf buf)))))) 1972 (not (eq ibuffer-buf buf))))))
1973 1973
1974 ;; This function is a special case; it's not defined by 1974 ;; This function is a special case; it's not defined by
1975 ;; `ibuffer-define-sorter'. 1975 ;; `define-ibuffer-sorter'.
1976 (defun ibuffer-do-sort-by-recency () 1976 (defun ibuffer-do-sort-by-recency ()
1977 "Sort the buffers by last view time." 1977 "Sort the buffers by last view time."
1978 (interactive) 1978 (interactive)
1979 (setq ibuffer-sorting-mode 'recency) 1979 (setq ibuffer-sorting-mode 'recency)
1980 (ibuffer-redisplay t)) 1980 (ibuffer-update nil t))
1981 1981
1982 (defun ibuffer-update-format () 1982 (defun ibuffer-update-format ()
1983 (when (null ibuffer-current-format) 1983 (when (null ibuffer-current-format)
1984 (setq ibuffer-current-format 0)) 1984 (setq ibuffer-current-format 0))
1985 (when (null ibuffer-formats) 1985 (when (null ibuffer-formats)