This commit is contained in:
Bastien 2018-04-28 13:53:06 +02:00
parent 0f83eac078
commit f2af4a37a6
1 changed files with 3 additions and 1 deletions

View File

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