From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.help Subject: Re: check if these is a buffer to a file Date: Sun, 15 Feb 2009 21:26:36 -0800 (PST) Organization: http://groups.google.com Message-ID: <4e0ed121-ea4f-445e-b269-4cdbe4ca2819@p36g2000prp.googlegroups.com> References: <6f0927c0-d5f3-42ab-b233-662207f2ed5e@x29g2000prf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1234762922 19431 80.91.229.12 (16 Feb 2009 05:42:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Feb 2009 05:42:02 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 16 06:43:17 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LYwGD-0004yL-5R for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Feb 2009 06:43:17 +0100 Original-Received: from localhost ([127.0.0.1]:57996 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LYwEt-0003em-7o for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Feb 2009 00:41:55 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2.glorb.com!postnews.google.com!p36g2000prp.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 6 Original-NNTP-Posting-Host: 61.4.103.130 Original-X-Trace: posting.google.com 1234761997 3909 127.0.0.1 (16 Feb 2009 05:26:37 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 16 Feb 2009 05:26:37 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: p36g2000prp.googlegroups.com; posting-host=61.4.103.130; posting-account=pYxWjwkAAACsHSUNDoi5N05LVCTP7PVM User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 rndgate.rnd.clarion.com.my:8080 (squid/2.5.STABLE6) Original-Xref: news.stanford.edu gnu.emacs.help:166832 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:62140 Archived-At: On Feb 16, 11:50=A0am, Andy Stewart wrote: > Try to use function `get-buffer'. get-file-buffer is probably more appropriate to what the Subject line says.