emacs-devel
[Top][All Lists]
Advanced

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

Re: save-excursion again


From: Davis Herring
Subject: Re: save-excursion again
Date: Fri, 18 Jun 2010 08:04:45 -0700 (PDT)
User-agent: SquirrelMail/1.4.8-5.el5_4.10.lanl1

> - if the code X has no possibility of getting back to the buffer A and
> moving point, then save-excursion can be replaced by
> save-current-buffer (and the byte compiler gives you a brownie point).

Be careful: you might not "get back" to buffer A and yet be in it if (eq A
B).

Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.



reply via email to

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