[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#36903: 27.0.50; gnus registry vs. debbugs
From: |
Eric Abrahamsen |
Subject: |
bug#36903: 27.0.50; gnus registry vs. debbugs |
Date: |
Sat, 03 Aug 2019 18:41:54 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Noam Postavsky <npostavs@gmail.com> writes:
> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>>> Huh, right after the definition of `gnus-registry-unload-hook' is this
>>> line:
>>>
>>> (add-hook 'gnus-registry-unload-hook 'gnus-registry-unload-hook)
>>
>> Added by RMS in 2004! Still don't see what it's supposed to do --
>> there's no such hook, and it's never called.
>
> It could be called by unload-feature, though it would be better to
> rename it gnus-registry-unload-function instead:
>
> (defun unload-feature (feature &optional force)
> [...]
> (let* ([...]
> (unload-hook (intern-soft (concat name "-unload-hook")))
> (unload-func (intern-soft (concat name "-unload-function"))))
> [...]
> ;; This is obsolete; FEATURE-unload-function should be used now.
> (run-hooks unload-hook)
>
> See also (info "(elisp) Unloading")
Something new every day! Thanks for this tip.
- bug#36903: 27.0.50; gnus registry vs. debbugs, Michael Heerdegen, 2019/08/03
- bug#36903: 27.0.50; gnus registry vs. debbugs, Eric Abrahamsen, 2019/08/03
- bug#36903: 27.0.50; gnus registry vs. debbugs, Michael Heerdegen, 2019/08/03
- bug#36903: 27.0.50; gnus registry vs. debbugs, Eric Abrahamsen, 2019/08/03
- bug#36903: 27.0.50; gnus registry vs. debbugs, Eric Abrahamsen, 2019/08/03
- bug#36903: 27.0.50; gnus registry vs. debbugs, Lars Ingebrigtsen, 2019/08/07
- bug#36903: 27.0.50; gnus registry vs. debbugs, Eric Abrahamsen, 2019/08/07
- bug#36903: 27.0.50; gnus registry vs. debbugs, Lars Ingebrigtsen, 2019/08/11
- bug#36903: 27.0.50; gnus registry vs. debbugs, Eric Abrahamsen, 2019/08/12
- bug#36903: 27.0.50; gnus registry vs. debbugs, Eric Abrahamsen, 2019/08/12
- bug#36903: 27.0.50; gnus registry vs. debbugs, Lars Ingebrigtsen, 2019/08/12