[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ess-bugs
Subject:    Re: [ESS-bugs] transient mark and noweb
From:       Stephen Eglen <S.J.Eglen () damtp ! cam ! ac ! uk>
Date:       2007-07-21 16:10:31
Message-ID: 18082.12279.743990.397143 () notch ! damtp ! cam ! ac ! uk
[Download RAW message or body]

Dear all,

First, apologies for slipping up on installing Markus' change before.
As well as fixing Kasper's problem, it nicely demonstrates the use of
(with-current-buffer ...) macro which I'd not seen before.  I've just
tried it in a couple of defuns, and I suggest that this is something
we look out for when updating other code in the future.  i.e. change

(save-excursion
  (set-buffer some-buffer
   body))

to:

(with-current-buffer some-buffer
   body)

Thanks for that Markus!

Stephen


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic