[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: use-package.el -> Emacs core
From: |
Nicolas Richard |
Subject: |
Re: use-package.el -> Emacs core |
Date: |
Tue, 10 Nov 2015 15:39:34 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
address@hidden (João Távora) writes:
>> (unless
>> (fboundp 'foo-a)
>> (autoload #'foo-a "foo" nil t))
>
> According to the `autoload' docstring:
>
> If FUNCTION is already defined other than as an autoload,
> this does nothing and returns nil.
IIRC in the above snippet (from the expansion of a use-package
instance), `fboundp' is mostly used as `autoloadp' to avoid overwriting
existing autloads (I guess autloadp wasn't used because it takes an
OBJECT as argument instead of a symbol).
--
Nico.
- Customize is only for newbies? [was: use-package.el -> Emacs core], (continued)
- Customize is only for newbies? [was: use-package.el -> Emacs core], Drew Adams, 2015/11/10
- Re: Customize is only for newbies? [was: use-package.el -> Emacs core], John Wiegley, 2015/11/10
- Re: use-package.el -> Emacs core, João Távora, 2015/11/10
- Re: use-package.el -> Emacs core, Pedro Silva, 2015/11/10
- Re: use-package.el -> Emacs core, João Távora, 2015/11/10
- Re: use-package.el -> Emacs core, Phillip Lord, 2015/11/10
- Re: use-package.el -> Emacs core, João Távora, 2015/11/10
- Re: use-package.el -> Emacs core, Oleh Krehel, 2015/11/10
- Re: use-package.el -> Emacs core,
Nicolas Richard <=
- Re: use-package.el -> Emacs core, João Távora, 2015/11/10
- Re: use-package.el -> Emacs core, John Wiegley, 2015/11/10
- Re: use-package.el -> Emacs core, Nicolas Richard, 2015/11/12
- Re: use-package.el -> Emacs core, Phillip Lord, 2015/11/10
Re: use-package.el -> Emacs core, Artur Malabarba, 2015/11/09