emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [bug?] declare org-element-update-syntax
@ 2015-03-13 14:11 Rasmus
  2015-03-13 18:23 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Rasmus @ 2015-03-13 14:11 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 213 bytes --]

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-org.el-Declare-org-element-update-syntax.patch --]
[-- Type: text/x-diff, Size: 845 bytes --]

From e5d7961f1c76b2a44cb01a1c4871230161223f30 Mon Sep 17 00:00:00 2001
From: Rasmus <rasmus@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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [bug?] declare org-element-update-syntax
  2015-03-13 14:11 [bug?] declare org-element-update-syntax Rasmus
@ 2015-03-13 18:23 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2015-03-13 18:23 UTC (permalink / raw)
  To: Rasmus; +Cc: emacs-orgmode

Hello,

Rasmus <rasmus@gmx.us> writes:

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

`org-element-update-syntax' is an autoloaded function so it isn't
a problem.

However, it introduces compilation warnings with "make single", so let's
apply it.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-13 18:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-13 14:11 [bug?] declare org-element-update-syntax Rasmus
2015-03-13 18:23 ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).