|
@@ -8378,7 +8378,7 @@ Point is in the buffer where the item originated.")
|
|
(if (and confirm
|
|
(if (and confirm
|
|
(not (y-or-n-p "Archive this subtree or entry? ")))
|
|
(not (y-or-n-p "Archive this subtree or entry? ")))
|
|
(error "Abort")
|
|
(error "Abort")
|
|
- (save-excursion
|
|
|
|
|
|
+ (save-window-excursion
|
|
(goto-char pos)
|
|
(goto-char pos)
|
|
(let ((org-agenda-buffer-name bufname-orig))
|
|
(let ((org-agenda-buffer-name bufname-orig))
|
|
(org-remove-subtree-entries-from-agenda))
|
|
(org-remove-subtree-entries-from-agenda))
|