* org-agenda.el (org-search-view): Fixed inclusion of agenda-archives
in org-agenda-text-search-extra-files.

org-search-view lacked a local binding for
org-agenda-text-search-extra-files. Thus when pop was called on the
variable, the agenda-archives symbol was removed and subsequent
searches failed to include the archives.
---
 lisp/org-agenda.el |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 191ee52..f65ceb8 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -3444,6 +3444,7 @@ in `org-agenda-text-search-extra-files'."
                      'mouse-face 'highlight
                      'help-echo (format "mouse-2 or RET jump to location")))
         (full-words org-agenda-search-view-force-full-words)
+        (org-agenda-text-search-extra-files org-agenda-text-search-extra-files)
         regexp rtn rtnall files file pos
         marker category tags c neg re boolean
         ee txt beg end words regexps+ regexps- hdl-only buffer beg1 str)
-- 
1.7.1.1


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to