auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX-devel] Re: defadvice in tex.el


From: Dan Nicolaescu
Subject: Re: [AUCTeX-devel] Re: defadvice in tex.el
Date: Tue, 04 Apr 2006 15:00:13 -0700

Ralf Angeli <address@hidden> writes:

  > * Dan Nicolaescu (2006-04-04) writes:
  > 
  > > Is the defadvice in tex.el needed? 
  > > AFAIK the custom code is designed to handle situations like the ones
  > > handled by the defadvice. Am I missing something? 
  > 
  > `hack-one-local-variable' uses `set' which does not care about
  > `custom-set'.

Does the AUCTeX code set those variables, or it's something that the
user has to write? 
If it's something the user adds by hand, then a possible solution is
to tell the users to use "eval: (TeX-PDF-mode t)", etc.

Another solution could be to call custom-reevaluate-setting (or some
similar function) from some hook. Would something like that work?

(I looked at a 1 1/2 year old installation of AUCTeX, and the
defadvice is not there. Is there something new that needs the
defadvice?)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]