> Thanks - I put the save-excursion in redraw-calendar itself.
> For some reason I though with-current-buffer would preserve point.

with-current-buffer doesn't preserve point.  But note that

  (save-excursion
    (set-buffer foo)
    ...)

doesn't quite preserve point either: it preserves point in the "current"
buffer but not in foo.  So if preserving point is important, maybe

  (with-current-buffer foo
    (save-excursion
      ...))

may make sense (although it appears redundant).


        Stefan


_______________________________________________
Emacs-pretest-bug mailing list
Emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to