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
This commit is contained in:
Bastien Guerry 2012-03-26 17:24:26 +02:00
parent 50e766a79b
commit 9602e1cb38
1 changed files with 1 additions and 1 deletions

View File

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