[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 11:10:25 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) |
>> So in reality in Emacs-24 such (defvar <foo>) only
>> affect the current file (actually only the current scope, so you can do
>> (defun test () (defvar toto) (let (toto ...) ...)) and `toto' will only
>> be dynbound within `test'.
> 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.
Stefan
- Re: Evil defvars in org.el, (continued)
- Re: Evil defvars in org.el, Bastien, 2012/04/27
- Re: Evil defvars in org.el, SAKURAI Masashi, 2012/04/27
- Re: Evil defvars in org.el, Glenn Morris, 2012/04/27
- RE: Evil defvars in org.el, Drew Adams, 2012/04/27
- Re: Evil defvars in org.el, Miles Bader, 2012/04/27
- RE: Evil defvars in org.el, Drew Adams, 2012/04/27
- Re: Evil defvars in org.el, Miles Bader, 2012/04/27
- Re: Evil defvars in org.el, Chong Yidong, 2012/04/27
Re: Evil defvars in org.el, Stefan Monnier, 2012/04/27
RE: Evil defvars in org.el, Drew Adams, 2012/04/28