summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2012-01-19 16:21:50 +0100
committerBastien Guerry <bzg@altern.org>2012-01-19 16:21:50 +0100
commit95e71f5705488626c73a512f90e8486dbf1fb312 (patch)
tree791375fe81e68128eb80ee8080a204c589b8dc2c
parent3a6c081367a6ea1d241d2db67ea4f3e57259e3a1 (diff)
downloadorg-mode-95e71f5705488626c73a512f90e8486dbf1fb312.tar.gz
Revert "Honour existing restrictions when visiting tasks from the agenda"
This reverts commit 8f93a75cacbfffb120d5ce18c494e2b85afa8d74.
-rw-r--r--lisp/org-agenda.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index cc0d906..bdf6881 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)