emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] [PATCH] Auto-load org-colview when updating a dynamic colview


From: Peter Jones
Subject: [Orgmode] [PATCH] Auto-load org-colview when updating a dynamic colview block
Date: Thu, 24 Jul 2008 11:05:56 -0600
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin)

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]