فهرست منبع

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

This reverts commit 31d003ad28a747e63935b45396d2995933514c5b.
Carsten Dominik 13 سال پیش
والد
کامیت
a954f0e01a
1فایلهای تغییر یافته به همراه1 افزوده شده و 3 حذف شده
  1. 1 3
      lisp/org-agenda.el

+ 1 - 3
lisp/org-agenda.el

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