소스 검색

Fix commit 011f1c6

Bastien 7 년 전
부모
커밋
f2af4a37a6
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      lisp/org-agenda.el

+ 3 - 1
lisp/org-agenda.el

@@ -7134,7 +7134,9 @@ subtree."
   (interactive "P")
   (if (and org-agenda-overriding-restriction
 	   (member org-agenda-restriction-lock-overlay
-		   (overlays-at (point))))
+		   (overlays-at (point)))
+	   (equal (overlay-start org-agenda-restriction-lock-overlay)
+		  (point)))
       (org-agenda-remove-restriction-lock 'noupdate)
     (org-agenda-remove-restriction-lock 'noupdate)
     (and (equal type '(4)) (setq type 'file))