[ESS-bugs] transient mark and noweb

Stephen Eglen S.J.Eglen at damtp.cam.ac.uk
Sat Jul 21 18:10:31 CEST 2007


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




More information about the ESS-bugs mailing list