From: Deniz Dogan Date: Sat, 4 Jun 2011 15:13:11 +0000 (+0200) Subject: Fix mistake in last iswitchb.el bug fix. X-Git-Tag: emacs-pretest-24.0.90~104^2~618^2~36 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ade1b01cb499c25ff51007a9acd3d992fca53164;p=emacs.git Fix mistake in last iswitchb.el bug fix. --- diff --git a/lisp/iswitchb.el b/lisp/iswitchb.el index c782295c794..70dda5442d5 100644 --- a/lisp/iswitchb.el +++ b/lisp/iswitchb.el @@ -1119,7 +1119,7 @@ If BUFFER is visible in the current frame, return nil." (interactive) (let ((blist (iswitchb-get-buffers-in-frames 'current))) ;; If the buffer is visible in current frame, return nil - (when (member buffer blist) + (unless (member buffer blist) ;; maybe in other frame or icon (get-buffer-window buffer 0) ; better than 'visible )))