+2010-01-06 TAKAHASHI Kaoru <kaoru@kaisei.org>
+
+ * elmo-util.el (elmo-set-work-buf): Revert `save-excursion' for
+ robustness.
+
2010-01-05 TAKAHASHI Kaoru <kaoru@kaisei.org>
* acap.el (acap-parse-response): Fix comment-out style. Use three
(defmacro elmo-set-work-buf (&rest body)
"Execute BODY on work buffer. Work buffer remains."
- `(with-current-buffer (get-buffer-create elmo-work-buf-name)
- (set-buffer-multibyte default-enable-multibyte-characters)
- (erase-buffer)
- ,@body))
+ `(save-excursion
+ (with-current-buffer (get-buffer-create elmo-work-buf-name)
+ (set-buffer-multibyte default-enable-multibyte-characters)
+ (erase-buffer)
+ ,@body)))
(put 'elmo-set-work-buf 'lisp-indent-function 0)
(def-edebug-spec elmo-set-work-buf t)