Hi,

Shouldn't org-element-update-syntax be declared in org.el since
org-add-link-type depends on it?  Or is there some autoload magic going
on?

—Rasmus

-- 
Got mashed potatoes. Ain't got no T-Bone. No T-Bone
>From e5d7961f1c76b2a44cb01a1c4871230161223f30 Mon Sep 17 00:00:00 2001
From: Rasmus <ras...@gmx.us>
Date: Thu, 12 Mar 2015 13:55:06 +0100
Subject: [PATCH] org.el: Declare org-element-update-syntax

* org.el: Declare org-element-update-syntax.  Required by org-add-link-type.
---
 lisp/org.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/org.el b/lisp/org.el
index 6dd2475..3e8c714 100755
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -182,6 +182,7 @@ Stars are put in group 1 and the trimmed body in group 2.")
 (declare-function org-element-parse-buffer "org-element"
 		  (&optional granularity visible-only))
 (declare-function org-element-type "org-element" (element))
+(declare-function org-element-update-syntax "org-element" ())
 
 (defsubst org-uniquify (list)
   "Non-destructively remove duplicate elements from LIST."
-- 
2.3.2

Reply via email to