emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Re: [PATCH] org-wl: Remove dependency on w3m macro `w3m-an


From: David Maus
Subject: Re: [Orgmode] Re: [PATCH] org-wl: Remove dependency on w3m macro `w3m-anchor'
Date: Thu, 27 May 2010 10:06:38 +0200
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/23.1 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

John Wiegley wrote:
>David Maus <address@hidden> writes:

>> Again, forgot to mention: Patch is available on

>David, Can you please explain for me the rationale behind this change?

Sure: The problem is, that `w3m-anchor' is not a function, but a
macro.  So it must be present when byte compiling org-w3m.el to be
properly expanded.  Declaring it an external function via
`declare-function' shuts up the byte compiler but seems to place a
function call into the byte compiled code that fails in runtime
because `w3m-anchor' isn't a function.

This results in error when using byte compiled Org mode.[1]

HTH
  -- David

[1] http://article.gmane.org/gmane.emacs.orgmode/25348
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... address@hidden
Email..... address@hidden

Attachment: pgp07PwWL2lXY.pgp
Description: PGP signature


reply via email to

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