[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: About `unload-feature'
From: |
Dmitry Gutov |
Subject: |
Re: About `unload-feature' |
Date: |
Wed, 02 Jan 2013 03:23:41 +0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt) |
Xue Fuqiao <xfq.free@gmail.com> writes:
> (info "(elisp) Unloading") says:
>
> Before restoring the previous definitions, `unload-feature' runs `remove-hook'
> to remove functions in the library from certain hooks. These hooks include
> variables whose names end in `-hook' (or the deprecated suffix `-hooks'), plus
> those listed in `unload-feature-special-hooks', as well as `auto-mode-alist'.
> This is to prevent Emacs from ceasing to function because important hooks
> refer
> to functions that are no longer defined.
>
> What does `ceasing to function' mean? Can anybody help? Thanks.
Looks like a hyperbole.
It would still function, but signal [lots of] "function is undefined" errors.