Commit ade1b01c authored by Deniz Dogan's avatar Deniz Dogan
Browse files

Fix mistake in last iswitchb.el bug fix.

parent 0c33dd17
......@@ -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
)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment