diff options
author | Bastien Guerry <bzg@altern.org> | 2013-07-05 14:29:51 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2013-07-05 14:29:51 +0200 |
commit | ce08e04629cc7c85921e8a30bfbc867b3d906754 (patch) | |
tree | 8b74368ba34d0ea354aa97b613ec454db9b3e7b4 | |
parent | eeb13239335cd4e34b9c81648207803091d38a16 (diff) | |
download | org-mode-ce08e04629cc7c85921e8a30bfbc867b3d906754.tar.gz |
org-agenda.el (org-agenda-archive-with): Save window excursion
* org-agenda.el (org-agenda-archive-with): Save window
excursion.
-rw-r--r-- | lisp/org-agenda.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 6ba04b6..270a73d 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -8378,7 +8378,7 @@ Point is in the buffer where the item originated.") (if (and confirm (not (y-or-n-p "Archive this subtree or entry? "))) (error "Abort") - (save-excursion + (save-window-excursion (goto-char pos) (let ((org-agenda-buffer-name bufname-orig)) (org-remove-subtree-entries-from-agenda)) |