Backport 2011-06-04T11:02:37Z!deniz@dogan.se (Bug#8799) from trunk
This commit is contained in:
parent
8e818c45bf
commit
9234aedc26
2 changed files with 8 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
@ -1112,10 +1112,9 @@ Return the modified list with the last element prepended to it."
|
|||
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
|
||||
)))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue