From d2949d71ab4c3eefbfd6c55e98b85cc4f7bf9a1b Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Thu, 13 Aug 2015 00:23:24 -0400 Subject: search: Ignore restriction locks --- NEWS | 7 +++++++ bog.el | 1 + 2 files changed, 8 insertions(+) diff --git a/NEWS b/NEWS index cd86299..9b6b507 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,12 @@ # -*- mode: org -*- +* master (unreleased) + +** Other changes + +- ~bog-search-notes~ and ~bog-search-notes-for-citekey~ now ignore any + agenda restriction locks. + * v1.0.0 ** New features diff --git a/bog.el b/bog.el index 59b90d4..05d0df0 100644 --- a/bog.el +++ b/bog.el @@ -1048,6 +1048,7 @@ Restore the `org-lprops' property value for org-agenda-text-search-extra-files org-agenda-sticky))) (put 'org-agenda-redo-command 'org-lprops bog-lprops) + (put 'org-agenda-files 'org-restrict nil) (org-let bog-lprops ,@body) (use-local-map (let ((map (make-sparse-keymap))) (set-keymap-parent map org-agenda-mode-map) -- cgit v1.2.3