[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-AUCTeX] 11.81; removing AUCTeX
From: |
Ralf Angeli |
Subject: |
Re: [Bug-AUCTeX] 11.81; removing AUCTeX |
Date: |
Sat, 19 Nov 2005 12:11:31 +0100 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
* Les Saper (2005-11-18) writes:
> On Nov 18,2005 16:08:24 +0100, Ralf Angeli <address@hidden> 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