[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

David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

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