summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2012-03-26 17:24:26 +0200
committerBastien Guerry <bzg@altern.org>2012-03-26 17:24:26 +0200
commit9602e1cb38cbfe6795d02e2e59abf8cabd199a4c (patch)
treefe161ce071960df2f2457530898659526b8c912e
parent50e766a79b8e3145f3b005cdb2d9998c88967970 (diff)
downloadorg-mode-9602e1cb38cbfe6795d02e2e59abf8cabd199a4c.tar.gz
org-collector.el: Don't narrow to subtree when collecting properties on the whole buffer.
* org-collector.el (org-dblock-write:propview): Don't narrow to subtree when collecting properties on the whole buffer. TINYCHANGE
-rw-r--r--contrib/lisp/org-collector.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/lisp/org-collector.el b/contrib/lisp/org-collector.el
index ad198ed..089e8ad 100644
--- a/contrib/lisp/org-collector.el
+++ b/contrib/lisp/org-collector.el
@@ -131,7 +131,7 @@ preceeding the dblock, then update the contents of the dblock."
((setq idpos (org-find-entry-with-id id))
(goto-char idpos))
(t (error "Cannot find entry with :ID: %s" id))))
- (org-narrow-to-subtree)
+ (unless (eq id 'global) (org-narrow-to-subtree))
(setq stringformat (if noquote "%s" "%S"))
(setq table (org-propview-to-table
(org-propview-collect cols stringformat conds match scope inherit