[Top][All Lists]

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

Re: find-file-read-args

From: martin rudalics
Subject: Re: find-file-read-args
Date: Thu, 12 Nov 2009 11:45:21 +0100
User-agent: Thunderbird (Windows/20090302)

> There is still one problem.  Due to the dynamical nature of M-n, it needs
> to visit the original buffer to get file names at point at the time when
> the current buffer if the minibuffer.  I tried to find the original buffer
> with the help of `(with-current-buffer (window-buffer (next-window)) ...'
> but it often finds the wrong buffer when there are more than one window on
> the frame.  Could you suggest a method for finding the original buffer,
> from which the minibuffer was activated.  Maybe we should add a new
> variable to hold the value of the original buffer set during
> minibuffer setup?

Isn't that the buffer shown in `minibuffer-selected-window'?


reply via email to

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