[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Customize and autoloaded libraries
From: |
Richard Stallman |
Subject: |
Re: Customize and autoloaded libraries |
Date: |
Wed, 5 Dec 2001 02:48:25 -0700 (MST) |
The downside is that simply putting an add-hook in your ".emacs" may
cause a package to become loaded (but using customize to add the hook
won't make the package loaded at start).
That is true.
A variant would be to change add-hook so it added the hook to some
symbol property, and the actual value of the hook wasn't affected
under the hook was declared with defcustom, or ran with run-hooks (for
hooks ).
This is a good idea. In fact, I had the same idea just after
reading the previous paragraph. But with a twist:
It would break code that use hooks but neither defcustom or run-hooks.
The twist was twist to prevent this problem. add-hook could do the
job right away, unless the variable has a custom definition.
- Re: Customize and autoloaded libraries, (continued)
- Re: Customize and autoloaded libraries, Per Abrahamsen, 2001/12/03
- Re: Customize and autoloaded libraries, Alex Schroeder, 2001/12/03
- Re: Customize and autoloaded libraries, Per Abrahamsen, 2001/12/04
- diff-list: customizing lists, Alex Schroeder, 2001/12/04
- Re: diff-list: customizing lists, Richard Stallman, 2001/12/05
- Re: Customize and autoloaded libraries, Richard Stallman, 2001/12/04
- Re: Customize and autoloaded libraries, Per Abrahamsen, 2001/12/04
- Re: Customize and autoloaded libraries, Stefan Monnier, 2001/12/04
- Re: Customize and autoloaded libraries, Per Abrahamsen, 2001/12/04
- Re: Customize and autoloaded libraries, Per Abrahamsen, 2001/12/05
- Re: Customize and autoloaded libraries,
Richard Stallman <=
- Re: Customize and autoloaded libraries, Per Abrahamsen, 2001/12/05
- Re: Customize and autoloaded libraries, Stefan Monnier, 2001/12/05
- Re: Customize and autoloaded libraries, Per Abrahamsen, 2001/12/05
- Re: Customize and autoloaded libraries, Stefan Monnier, 2001/12/05
- Re: Customize and autoloaded libraries, Richard Stallman, 2001/12/06
- Re: Customize and autoloaded libraries, Per Abrahamsen, 2001/12/07
- Re: Customize and autoloaded libraries, Richard Stallman, 2001/12/08
- Re: Customize and autoloaded libraries, Stefan Monnier, 2001/12/04
- Re: Customize and autoloaded libraries, Richard Stallman, 2001/12/05