aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/iswitchb.el7
2 files changed, 8 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 509978a8127..f579b7179d4 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12011-08-21 Deniz Dogan <deniz@dogan.se>
2
3 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
4 `memq' (Bug#8799).
5
12011-08-09 Chong Yidong <cyd@stupidchicken.com> 62011-08-09 Chong Yidong <cyd@stupidchicken.com>
2 7
3 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec 8 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
diff --git a/lisp/iswitchb.el b/lisp/iswitchb.el
index a9db65d0cc8..180f1901aa7 100644
--- a/lisp/iswitchb.el
+++ b/lisp/iswitchb.el
@@ -1112,10 +1112,9 @@ Return the modified list with the last element prepended to it."
1112If BUFFER is visible in the current frame, return nil." 1112If BUFFER is visible in the current frame, return nil."
1113 (interactive) 1113 (interactive)
1114 (let ((blist (iswitchb-get-buffers-in-frames 'current))) 1114 (let ((blist (iswitchb-get-buffers-in-frames 'current)))
1115 ;;If the buffer is visible in current frame, return nil 1115 ;; If the buffer is visible in current frame, return nil
1116 (if (memq buffer blist) 1116 (unless (member buffer blist)
1117 nil 1117 ;; maybe in other frame or icon
1118 ;; maybe in other frame or icon
1119 (get-buffer-window buffer 0) ; better than 'visible 1118 (get-buffer-window buffer 0) ; better than 'visible
1120 ))) 1119 )))
1121 1120