tamago/ChangeLog tamago/egg.el
Mr. SAITO Takuya contributes this patch.
+2002-07-20 SAITO Takuya <reed@lily.freemail.ne.jp>
+
+ * egg.el (egg-activate-keymap-after-command): set-buffer to
+ killed buffer.
+
2001-05-22 KATAYAMA Yoshio <kate@pfu.fujitsu.com>
* its.el (its-delete-by-character): New customizable variable.
(defun egg-activate-keymap-after-command ()
(while egg-change-major-mode-buffer
(save-excursion
- (set-buffer (car egg-change-major-mode-buffer))
- (egg-activate-keymap)
+ (when (buffer-live-p (car egg-change-major-mode-buffer))
+ (set-buffer (car egg-change-major-mode-buffer))
+ (egg-activate-keymap))
(setq egg-change-major-mode-buffer (cdr egg-change-major-mode-buffer))))
(remove-hook 'post-command-hook 'egg-activate-keymap-after-command))