diff options
author | Carsten Dominik <carsten.dominik@gmail.com> | 2011-12-31 15:23:23 +0100 |
---|---|---|
committer | Carsten Dominik <carsten.dominik@gmail.com> | 2011-12-31 15:23:23 +0100 |
commit | a954f0e01a12e923bbedd5071cbfe4ab80d4fd57 (patch) | |
tree | 1116c403f28a775e8b0e1c9d2821cd5f25e10457 | |
parent | 4a0cb0dbd18dc59361e923e6c74921bc6de1d1a0 (diff) | |
download | org-mode-a954f0e01a12e923bbedd5071cbfe4ab80d4fd57.tar.gz |
Revert "Honour existing restrictions when visiting tasks from the agenda"
This reverts commit 31d003ad28a747e63935b45396d2995933514c5b.
-rw-r--r-- | lisp/org-agenda.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index b009faf..f240f5e 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -7033,9 +7033,7 @@ at the text of the entry itself." (pos (marker-position marker))) (org-pop-to-buffer-same-window buffer) (and delete-other-windows (delete-other-windows)) - (when (or (< pos (point-min)) - (> pos (point-max))) - (widen)) + (widen) (goto-char pos) (when (eq major-mode 'org-mode) (org-show-context 'agenda) |