Re: autoload cookies
Andrey Slusar <[email protected]> Sat, 23 Oct 2004 02:03:30 +0300
| Newsgroups | gmane.emacs.xemacs.user.russian |
|---|---|
| Organization | XEmacs User |
| Message-ID | <[email protected]> |
Sat, 23 Oct 2004 02:37:15 +0400, Vasily Korytov wrote:
> > How about putting the conditional code in a separate file with
> > ;;;###autoload cookies or some such? If that doesn't work yet, we
> > should find a way to make it work and start the "future" package.
> >
> > ("(require 'future)" isn't as cool as Python's "from future import
> > ....", but it ain't bad. ;-)
> Хорошая идея. Я проникся. =))
Я вот посмотрел - во многих программах под elisp так делается. Спишем
на совместимость с GNU Emacs ;)
> > Зачем в этом случае ';;;###autoload'?
> Смотри: если функция уже есть, (autoload ...) функции игнорируется.
[...]
Во, вот именно это я и хотел узнать. Спасибо.
----
Андрей Слюсар.
JID: [email protected]