From a954f0e01a12e923bbedd5071cbfe4ab80d4fd57 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Sat, 31 Dec 2011 15:23:23 +0100 Subject: [PATCH] Revert "Honour existing restrictions when visiting tasks from the agenda" This reverts commit 31d003ad28a747e63935b45396d2995933514c5b. --- lisp/org-agenda.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index b009faf8f..f240f5e38 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) -- 2.11.4.GIT