If you try to update a dynamic colview block before org-colview has
been auto-loaded, you get an error message about an undefined function
org-dblock-write:columnview.

Adding this function name to the list of auto-load functions that are
in org-colview to the auto-load list in org.el fixes the problem.

>From b450416fd270232317c0bc07d59536f2266e3e51 Mon Sep 17 00:00:00 2001
From: Peter Jones <[EMAIL PROTECTED]>
Date: Thu, 24 Jul 2008 11:02:14 -0600
Subject: [PATCH] Auto-load org-colview when updating a dynamic colview block

If you try to update a dynamic colview block before org-colview has
been auto-loaded, you get an error message about an undefined function
org-dblock-write:columnview.

Adding this function name to the list of auto-load functions that are
in org-colview to the auto-load list in org.el fixes the problem.
---
 lisp/org.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/org.el b/lisp/org.el
index 4051568..7a5be1f 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -2650,7 +2650,7 @@ collapsed state."
 (org-autoload (if (featurep 'xemacs) "org-colview-xemacs" "org-colview")
  '(org-columns-number-to-string org-columns-get-format-and-top-level
    org-columns-compute org-agenda-columns org-columns-remove-overlays
-   org-columns org-insert-columns-dblock))
+   org-columns org-insert-columns-dblock org-dblock-write:columnview))
 
 ;; Autoload ID code
 
-- 
1.5.3.7

-- 
Peter Jones, http://pmade.com
pmade inc.  Louisville, CO US
_______________________________________________
Emacs-orgmode mailing list
Remember: 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