* mwheel.el (mouse-wheel-up-button): Doc fix.
+2002-08-29 John Paul Wallington <jpw@shootybangbang.com>
+
+ * ibuffer.el (ibuffer-update): Use `minibufferp'. Expand `caddr'.
+
+ * mwheel.el (mouse-wheel-up-button): Doc fix.
+
2002-08-29 Juanma Barranquero <lektu@terra.es>
* replace.el (occur-mode-hook): New hook.
2002-08-28 Luc Teirlinck <teirllm@mail.auburn.edu>
- * files.el (find-buffer-visiting): Compare file attributes
+ * files.el (find-buffer-visiting): Compare file attributes
using buffer-file-truename.
2002-08-28 Richard M. Stallman <rms@gnu.org>
(ibuffer-forward-line 0)
(let* ((bufs (buffer-list))
(blist (ibuffer-filter-buffers
- (current-buffer)
- (if (and
- (cadr bufs)
- (eq ibuffer-always-show-last-buffer
- :nomini)
- ;; This is a hack.
- (string-match " \\*Minibuf"
- (buffer-name (cadr bufs))))
- (caddr bufs)
- (cadr bufs))
- (ibuffer-current-buffers-with-marks bufs)
- arg)))
+ (current-buffer)
+ (if (and
+ (cadr bufs)
+ (eq ibuffer-always-show-last-buffer
+ :nomini)
+ (with-current-buffer (cadr bufs)
+ (minibufferp)))
+ (car (cddr bufs))
+ (cadr bufs))
+ (ibuffer-current-buffers-with-marks bufs)
+ arg)))
(when (null blist)
(if (and (featurep 'ibuf-ext)
ibuffer-filtering-qualifiers)
:set 'mouse-wheel-change-button)
(defcustom mouse-wheel-up-button 5
- "Obsolete. Use `mouse-whell-up-event'.")
+ "Obsolete. Use `mouse-wheel-up-event'.")
(defcustom mouse-wheel-up-event
;; In the latest versions of XEmacs, we could just use mouse-%s as well.
(intern (format (if (featurep 'xemacs) "button%s" "mouse-%s")
mouse-wheel-up-event
mouse-wheel-down-event))
x)))
- (fset 'mwheel-event-button 'event-button))
+ (fset 'mwheel-event-button 'event-button))
(if (not (fboundp 'event-window))
(defun mwheel-event-window (event)