[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Add M-x occur to the menu-bar
From: |
David Kastrup |
Subject: |
Re: Add M-x occur to the menu-bar |
Date: |
07 Feb 2004 01:52:29 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Stefan Monnier <address@hidden> writes:
> > (save-excursion
> > (set-buffer buffer)
>
> Also known as (with-current buffer buffer
It's not the same if buffer is already selected. In that case the
first version restores the cursor position afterwards and the second
doesn't.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- Re: Add M-x occur to the menu-bar, Ted Zlatanov, 2004/02/04
- Re: Add M-x occur to the menu-bar, Kim F. Storm, 2004/02/04
- Re: Add M-x occur to the menu-bar, Ted Zlatanov, 2004/02/09
- Re: Add M-x occur to the menu-bar, Richard Stallman, 2004/02/10
- Re: Add M-x occur to the menu-bar, Kim F. Storm, 2004/02/10
- Re: Add M-x occur to the menu-bar, Ted Zlatanov, 2004/02/10
- Re: Add M-x occur to the menu-bar, Richard Stallman, 2004/02/12
- Re: Add M-x occur to the menu-bar, Ted Zlatanov, 2004/02/12
- Re: Add M-x occur to the menu-bar, Stefan Monnier, 2004/02/13
- Re: Add M-x occur to the menu-bar, Ted Zlatanov, 2004/02/12