On 2009-01-24 19:13 +0000, Ralf Angeli wrote: > CVSROOT: /cvsroot/auctex > Module name: auctex > Changes by: Ralf Angeli <angeli> 09/01/24 19:13:04 > > Modified files: > . : tex.el > > Log message: > (TeX-source-correlate-method): Doc fix. > (TeX-source-correlate-mode): Call minor mode function after file > is loaded. > > CVSWeb URLs: > http://cvs.savannah.gnu.org/viewcvs/auctex/tex.el?cvsroot=auctex&r1=5.646&r2=5.647
Sorry for the nitpicking. ,---- | (eval-after-load "tex" ; Alternatively this could be put at the end of the file. | '(when TeX-source-correlate-mode | (TeX-source-correlate-mode 1))) `---- The above change seems to conflict with the following: ,----[ (info "(elisp)Coding Conventions") ] | * Likewise, avoid using `eval-after-load' (*note Hooks for | Loading::) in libraries and packages. This feature is meant for | personal customizations; using it in a Lisp program is unclean, | because it modifies the behavior of another Lisp file in a way | that's not visible in that file. This is an obstacle for | debugging, much like advising a function in the other package. `---- That aside, isn't it better to enable this minor mode by (TeX-source-correlate-mode 1) in personal customisation? Best, -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. _______________________________________________ auctex-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/auctex-devel
