emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patch for iswitchb.el


From: Deniz Dogan
Subject: Re: Patch for iswitchb.el
Date: Sat, 04 Jun 2011 09:59:29 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10

On 2011-06-04 08:33, Stephen Eglen wrote:
Please can someone apply this patch for iswitchb?  Thanks, Stephen

2011-06-04  Stephen Eglen<address@hidden>

        * iswitchb.el (iswitchb-window-buffer-p): Use `member' rather
        than `memq'.  Bug reported by Trevor Spiteri.

*** /Users/stephen/NOBACKUP/compiles/emacs-23.3/lisp/iswitchb.el~       
2011-01-08 17:45:14.000000000 +0000
--- /Users/stephen/NOBACKUP/compiles/emacs-23.3/lisp/iswitchb.el        
2011-06-04 07:28:22.000000000 +0100
***************
*** 1113,1119 ****
     (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
         (get-buffer-window buffer 0) ; better than 'visible
--- 1113,1119 ----
     (interactive)
     (let ((blist (iswitchb-get-buffers-in-frames 'current)))
       ;;If the buffer is visible in current frame, return nil
!     (if (member buffer blist)
        nil
         ;;  maybe in other frame or icon
         (get-buffer-window buffer 0) ; better than 'visible


Is the reported bug in the bug tracker? If so, its ID should be in the ChangeLog.

/Deniz



reply via email to

[Prev in Thread] Current Thread [Next in Thread]