unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Patch for iswitchb.el
@ 2011-06-04  6:33 Stephen Eglen
  2011-06-04  7:59 ` Deniz Dogan
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Eglen @ 2011-06-04  6:33 UTC (permalink / raw)
  To: emacs-devel; +Cc: tspiteri, Stephen Eglen

Please can someone apply this patch for iswitchb?  Thanks, Stephen

2011-06-04  Stephen Eglen  <stephen@gnu.org>

	* 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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-06-04 11:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-04  6:33 Patch for iswitchb.el Stephen Eglen
2011-06-04  7:59 ` Deniz Dogan
2011-06-04  9:52   ` Stephen Eglen
2011-06-04 11:04     ` Deniz Dogan
2011-06-04 11:09       ` Deniz Dogan

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).