Kaynağa Gözat

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
Bastien Guerry 13 yıl önce
ebeveyn
işleme
9602e1cb38
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      contrib/lisp/org-collector.el

+ 1 - 1
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