Explorar o código

Fix commit 011f1c6

Bastien %!s(int64=7) %!d(string=hai) anos
pai
achega
f2af4a37a6
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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))