[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13780: 24.2; Making find-file-hook customizable seems to cause troub
From: |
Stefan Monnier |
Subject: |
bug#13780: 24.2; Making find-file-hook customizable seems to cause troublle |
Date: |
Fri, 22 Feb 2013 09:22:20 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
>> So until Custom is fixed to actually properly handle customisation of
>> hooks (e.g. by storing "add functions foo, bar, and baz" rather than
>> "ignore current value and just set it to (foo bar baz)").
> This sentence seems to be missing its main clause…
That's not just an appearance. Its main clause is:
So until Custom ...blabla... I think it's better to use defcustom for
hooks very sparingly, i.e. only for those hook we can reasonably
expect will only be modified by the user's customization.
Stefan