[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#21440: 25.0.50; Manual: FEATURE-unload-hook in (info "(elisp) Coding
From: |
Lars Ingebrigtsen |
Subject: |
bug#21440: 25.0.50; Manual: FEATURE-unload-hook in (info "(elisp) Coding Conventions") |
Date: |
Fri, 16 Jul 2021 11:01:43 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Michael Heerdegen <michael_heerdegen@web.de> writes:
>> Well, it recommends writing an unload function, although this is rarely
>> necessary. So it should say something about when it's necessary.
>
> Yes, exactly.
I've now clarified that section...
> The second paragraph of `unload-feature' has some good examples
... but I don't think we need to go into details about what
unload-feature does in the Coding Conventions section in the manual.
> (should we add advices to that list btw?).
Hm... does unload-feature remove advices? Let's see..
Well, there's this:
(defun loadhist--unload-function (x)
(let ((fun (cdr x)))
(when (fboundp fun)
(when (fboundp 'ad-unadvise)
(ad-unadvise fun))
Hm... but is that what it does?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#21440: 25.0.50; Manual: FEATURE-unload-hook in (info "(elisp) Coding Conventions"), Lars Ingebrigtsen, 2021/07/08
- bug#21440: 25.0.50; Manual: FEATURE-unload-hook in (info "(elisp) Coding Conventions"), Michael Heerdegen, 2021/07/11
- bug#21440: 25.0.50; Manual: FEATURE-unload-hook in (info "(elisp) Coding Conventions"), Eli Zaretskii, 2021/07/12
- bug#21440: 25.0.50; Manual: FEATURE-unload-hook in (info "(elisp) Coding Conventions"), Lars Ingebrigtsen, 2021/07/12
- bug#21440: 25.0.50; Manual: FEATURE-unload-hook in (info "(elisp) Coding Conventions"), Michael Heerdegen, 2021/07/15
- bug#21440: 25.0.50; Manual: FEATURE-unload-hook in (info "(elisp) Coding Conventions"),
Lars Ingebrigtsen <=
- bug#21440: 25.0.50; Manual: FEATURE-unload-hook in (info "(elisp) Coding Conventions"), Michael Heerdegen, 2021/07/16
- bug#21440: 25.0.50; Manual: FEATURE-unload-hook in (info "(elisp) Coding Conventions"), Michael Heerdegen, 2021/07/16
- bug#21440: 25.0.50; Manual: FEATURE-unload-hook in (info "(elisp) Coding Conventions"), Lars Ingebrigtsen, 2021/07/17
- bug#21440: 25.0.50; Manual: FEATURE-unload-hook in (info "(elisp) Coding Conventions"), Michael Heerdegen, 2021/07/20