[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-devel] Re: auctex tex.el
From: |
Leo |
Subject: |
[AUCTeX-devel] Re: auctex tex.el |
Date: |
Mon, 16 Feb 2009 17:42:47 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (windows-nt) |
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 :.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [AUCTeX-devel] Re: auctex tex.el,
Leo <=