[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#37802: 27.0.50; Feature request: hook for theme enabling/disabling
From: |
Lars Ingebrigtsen |
Subject: |
bug#37802: 27.0.50; Feature request: hook for theme enabling/disabling |
Date: |
Sat, 21 May 2022 15:21:29 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
> Thanks, but is there any reason these hooks aren't called
> enable-theme-function and disable-theme-function? Hooks by such
> names are already documented as "abnormal hooks", which would avoid
> the need of saying these new hooks are "atypical", something that we
> never had in our terminology.
"Abnormal" was the word I was looking for.
As for the name, I don't really have much of an opinion -- we have more
of these abnormal hooks called -hook than -function(s), a short grepping
for run-hook-with-args shows.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no