From 95e71f5705488626c73a512f90e8486dbf1fb312 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Thu, 19 Jan 2012 16:21:50 +0100 Subject: [PATCH] Revert "Honour existing restrictions when visiting tasks from the agenda" This reverts commit 8f93a75cacbfffb120d5ce18c494e2b85afa8d74. --- 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 cc0d906d0..bdf688190 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -7113,9 +7113,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