forked from mirrors/org-mode
Revert "Honour existing restrictions when visiting tasks from the agenda"
This reverts commit 31d003ad28
.
This commit is contained in:
parent
4a0cb0dbd1
commit
a954f0e01a
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue