Explorar o código

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

This reverts commit 8f93a75cacbfffb120d5ce18c494e2b85afa8d74.
Bastien Guerry %!s(int64=13) %!d(string=hai) anos
pai
achega
95e71f5705
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      lisp/org-agenda.el

+ 1 - 3
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)