|
From: | Glenn Morris |
Subject: | Re: diary-redraw-calendar clobbers point in diary-file buffer. |
Date: | Wed, 09 Mar 2005 00:38:23 +0000 |
User-agent: | Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Matt Hodges wrote: > Recent code has added diary-redraw-calendar to > write-contents-functions in the buffer associated with diary-file. > However, this function doesn't preserve point, and it gets clobbered > in mark-diary-entries (provided mark-diary-entries-in-calendar is > non-nil, of course). > > Suggested patch attached. Thanks - I put the save-excursion in redraw-calendar itself. For some reason I though with-current-buffer would preserve point.
[Prev in Thread] | Current Thread | [Next in Thread] |