+2011-08-21 Deniz Dogan <deniz@dogan.se>
+
+ * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
+ `memq' (Bug#8799).
+
2011-08-09 Chong Yidong <cyd@stupidchicken.com>
* hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
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
- (if (memq buffer blist)
- nil
- ;; maybe in other frame or icon
+ ;; If the buffer is visible in current frame, return nil
+ (unless (member buffer blist)
+ ;; maybe in other frame or icon
(get-buffer-window buffer 0) ; better than 'visible
)))