summaryrefslogtreecommitdiff
path: root/lisp/iswitchb.el
diff options
context:
space:
mode:
authorDeniz Dogan <deniz@dogan.se>2011-06-04 17:13:11 +0200
committerDeniz Dogan <deniz@dogan.se>2011-06-04 17:13:11 +0200
commitade1b01cb499c25ff51007a9acd3d992fca53164 (patch)
tree9c0a26e3c412b46f821d35d6e1e27ccd46d4119c /lisp/iswitchb.el
parent0c33dd17ea626c04fd26aa1358f1def2b6e072d5 (diff)
downloademacs-ade1b01cb499c25ff51007a9acd3d992fca53164.tar.gz
Fix mistake in last iswitchb.el bug fix.
Diffstat (limited to 'lisp/iswitchb.el')
-rw-r--r--lisp/iswitchb.el2
1 files changed, 1 insertions, 1 deletions
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
)))