فهرست منبع

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

This reverts commit 8f93a75cacbfffb120d5ce18c494e2b85afa8d74.
Bastien Guerry 13 سال پیش
والد
کامیت
95e71f5705
1فایلهای تغییر یافته به همراه1 افزوده شده و 3 حذف شده
  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)