|
From: | Stefan Monnier |
Subject: | Re: Removing unloaded functions from auto-mode-alist. |
Date: | Tue, 19 Apr 2005 19:01:08 -0400 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> (add-hook 'auctex-override-unload-hook > (lambda () > (dolist (x TeX-saved-other-tex-autoloads) > (fset (car x) (cdr x))))) Hmm... that won't work because the unload-hook is run before unload-feature calls fmakunbound on the functions. I guess in the mean time you'll have to use `fset' instead of `defalias' in order to prevent unload-feature from doing the fmakunbound after running the unload-hook. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |