Revert "Honour existing restrictions when visiting tasks from the agenda"

This reverts commit 31d003ad28.
This commit is contained in:
Carsten Dominik 2011-12-31 15:23:23 +01:00
parent 4a0cb0dbd1
commit a954f0e01a
1 changed files with 1 additions and 3 deletions

View File

@ -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)