[Top][All Lists]

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

Re: Evil defvars in org.el

From: Stefan Monnier
Subject: Re: Evil defvars in org.el
Date: Sat, 28 Apr 2012 15:33:50 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

>>> I had no idea this is even possible... and the manual advises that the
>>> defvar should "usually be at top-level".  So, commenting out all the
>>> file-level (defvar date) in all of org and then changing in org-bbdb.el
>>> like this:
>> In general, having them at file-level is just as good as having it
>> within a defun.
> Either I've lost you here or the conclusion is that we can't do anything
> in org to make these defvars less evil and should just silence the
> warnings associated with them?

The only thing that can be done for dynamic vars is to make them
namespace-clean, so if renaming them is not an option (which could be
the case for example because those vars appears in user customizations),
then indeed, there's not much you can do.


reply via email to

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