* Les Saper (2005-11-18) writes: > On Nov 18,2005 16:08:24 +0100, Ralf Angeli <[EMAIL PROTECTED]> wrote: >> >>Does it help if you put the following forms into your .emacs file >>before you call `unload-feature'? [...] > Inserting the code below into .emacs belofore `(unload-feature > 'tex-site)' apparently solves the problem. Thanks!
Okay, I checked a slightly changed variant into CVS. That means you'll need the code I sent no more with the next version of AUCTeX. In case somebody is interested, here is another approach of making the hook work in Emacs 21: (setcar list (cons (caar list) (assq-delete-all 'TeX-modes-set (cdar list)))) I preferred the approach of using an adapted copy of `assq-delete-all' to this because it requires the alist to have a certain structure (`((<non-list> <list> <list> ...) (<non-list> <list> <list> ...) ...)', i.e. only list are supposed to follow the keys) whereas `assq-delete-all' is more general. -- Ralf _______________________________________________ bug-auctex mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-auctex
