diff options
| -rw-r--r-- | lisp/iswitchb.el | 2 |
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." | |||
| 1119 | (interactive) | 1119 | (interactive) |
| 1120 | (let ((blist (iswitchb-get-buffers-in-frames 'current))) | 1120 | (let ((blist (iswitchb-get-buffers-in-frames 'current))) |
| 1121 | ;; If the buffer is visible in current frame, return nil | 1121 | ;; If the buffer is visible in current frame, return nil |
| 1122 | (when (member buffer blist) | 1122 | (unless (member buffer blist) |
| 1123 | ;; maybe in other frame or icon | 1123 | ;; maybe in other frame or icon |
| 1124 | (get-buffer-window buffer 0) ; better than 'visible | 1124 | (get-buffer-window buffer 0) ; better than 'visible |
| 1125 | ))) | 1125 | ))) |