* Holger Sparr (2007-05-31) writes:

> Looking into it again the `unless' in `TeX-run-style-hooks' defun
> prevents the loading.
>
> ,----
> | (defun TeX-run-style-hooks (&rest styles)
> |   "Run the TeX style hooks STYLES."
> |   (mapcar (lambda (style)
> |         ;; Avoid recursion.
> |         (unless (TeX-member style TeX-active-styles 'string-equal)
> |
> |    [...]
> |
> `----

As far as I can see the following code is the culprit:

,----
| (defun TeX-load-style (style)
|   "Search for and load each definition for STYLE in `TeX-style-path'."
|   (cond ((assoc style TeX-style-hook-list)) ; We already found it
| [...]
`----

> Putting the marked line into a separate file ($AUCTEXDIR/style/pstricks.el)
> should work, since all files named "pstricks.el" in `TeX-style-path' get
> loaded.

I've done this know.  Thanks for your help.

-- 
Ralf



_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to