[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: w3m-switch-to-buffer and buffer-list order
- From: Katsumi Yamaoka <yamaoka@xxxxxxx>
- Date: Mon, 13 Feb 2012 09:31:23 +0900
- X-ml-name: emacs-w3m
- X-mail-count: 11756
- References: <877gztarbl.fsf@xxxxxxxxx>
In [emacs-w3m : No.11753] Kevin Ryde wrote:
> When first opening up a w3m buffer, it's at the end of (buffer-list)
> where I hoped it would be at the start, as per a usual switch-to-buffer.
> (progn
> (w3m-browse-url "file:///tmp")
> (buffer-list))
> =>
> *w3m* buffer at the end of the list, not the start
> I see a newly created buffer goes through w3m-switch-to-buffer. Is
> there a reason it's not a plain `switch-to-buffer'?
[...]
In the middle of the last year (in the Emacs head), `switch-to-buffer'
was restricted to be used as an interactive command only, and the byte
compiler got to warn about non-interactive usage. It was taken back
soon, though. `w3m-switch-to-buffer' is the one made just then.
I'll replace it back to `switch-to-buffer', later.