[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: |
Thu, 21 Feb 2013 21:14:56 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> The real problem here is that find-file-hook is clearly meant to be
> customizable (there is even a check box for auto-indent in its
But Custom only properly handles hooks which is only sets via Custom,
whereas it's reasonably common for find-file-hook to be modified by
packages (via add-hook, of course).
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)").
Stefan