[Top][All Lists]

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

Re: emacs equivalent of vi %

From: Jason Rumney
Subject: Re: emacs equivalent of vi %
Date: Wed, 13 Aug 2008 19:51:33 -0700 (PDT)
User-agent: G2/1.0

On Aug 14, 7:50 am, Nikolaj Schumacher <address@hidden> wrote:

> Oups, that's not all...
> It won't work, because `buffer-file-name' will of course return the
> minibuffer's file name (i.e. none).  I'm currently not aware of an easy
> way to get the originating buffer from the minibuffer.  Sorry.

(window-buffer (minibuffer-selected-window))

reply via email to

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