Tom Breton (Tehom) <te...@panix.com> wrote:

> 
> >>> On Feb 11, 2009, at 2:08 AM, Tom Breton (Tehom) wrote:
> >>>
> >>
> >> (let*
> >>   ((x 1))
> >>   (eval-after-load 'simple (setq x 2))
> >>   x)
> >>
> >> =3D> 2
> >>
> >>
> >>
> >> (let*
> >>   ((x 1))
> >>   (eval-after-load 'simple '(setq x 2))
> >>   x)
> >>
> >> =3D> 1
> >
> > In fact, I am getting 2 in both cases!!!!!???????
> > Do you really get 1 for the second???
> 
> Yes I do, but it's clear now that I was mistaken about why.  On closer
> inspection, it has to do with emacs not recognizing 'simple because it
> wants to see "simple" instead (string instead of symbol).
> 

That's not correct: eval-after-load will happily accept a symbol instead
of a string, as long as the symbol is a feature provided by the library.
simple.el does that - the last form in it is

(provide 'simple)

Regards,
Nick


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to