summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-08-13 00:23:24 -0400
committerKyle Meyer <kyle@kyleam.com>2015-08-13 00:23:24 -0400
commitd2949d71ab4c3eefbfd6c55e98b85cc4f7bf9a1b (patch)
treefab142137646e8cbd549924d169676138af682ef
parent9d86fbbdcb91a8fe76db4ef0ec172af044cdd9e3 (diff)
downloadbog-d2949d71ab4c3eefbfd6c55e98b85cc4f7bf9a1b.tar.gz
search: Ignore restriction locks
-rw-r--r--NEWS7
-rw-r--r--bog.el1
2 files changed, 8 insertions, 0 deletions
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)