From: Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk>
To: emacs-devel@gnu.org
Cc: tspiteri@gmail.com, Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk>
Subject: Patch for iswitchb.el
Date: Sat, 04 Jun 2011 07:33:24 +0100 [thread overview]
Message-ID: <E1QSkQH-0003Zt-RQ@ppsw-41.csi.cam.ac.uk> (raw)
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
next reply other threads:[~2011-06-04 6:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-04 6:33 Stephen Eglen [this message]
2011-06-04 7:59 ` Patch for iswitchb.el Deniz Dogan
2011-06-04 9:52 ` Stephen Eglen
2011-06-04 11:04 ` Deniz Dogan
2011-06-04 11:09 ` Deniz Dogan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1QSkQH-0003Zt-RQ@ppsw-41.csi.cam.ac.uk \
--to=s.j.eglen@damtp.cam.ac.uk \
--cc=emacs-devel@gnu.org \
--cc=tspiteri@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.