[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] Changes to auctex/tex.el,v
From: |
Tassilo Horn |
Subject: |
[AUCTeX-diffs] Changes to auctex/tex.el,v |
Date: |
Tue, 26 Feb 2013 08:01:34 +0000 |
CVSROOT: /sources/auctex
Module name: auctex
Changes by: Tassilo Horn <tsdh> 13/02/26 08:01:29
Index: tex.el
===================================================================
RCS file: /sources/auctex/auctex/tex.el,v
retrieving revision 5.710
retrieving revision 5.711
diff -u -b -r5.710 -r5.711
--- tex.el 25 Feb 2013 12:05:10 -0000 5.710
+++ tex.el 26 Feb 2013 08:01:28 -0000 5.711
@@ -2433,8 +2433,15 @@
(TeX-master-directory))
style (substring style
(match-beginning 2) (match-end 2))))
+ (condition-case err
(mapcar 'funcall
- (cdr-safe (assoc style TeX-style-hook-list))))))
+ (cdr-safe (assoc style TeX-style-hook-list)))
+ ;; This happens in case some style added a new parser, and
+ ;; now the style isn't used anymore (user deleted
+ ;; \usepackage{style}). Then we're left over with, e.g.,
+ ;; (LaTeX-add-siunitx-units "\\parsec"), but the function is
+ ;; defined in a style siunitx.el that's not loaded anymore.
+ (void-function nil)))))
styles))
(defcustom TeX-parse-self nil
- [AUCTeX-diffs] Changes to auctex/tex.el,v, Tassilo Horn, 2013/02/12
- [AUCTeX-diffs] Changes to auctex/tex.el,v, Tassilo Horn, 2013/02/13
- [AUCTeX-diffs] Changes to auctex/tex.el,v, Tassilo Horn, 2013/02/18
- [AUCTeX-diffs] Changes to auctex/tex.el,v, Tassilo Horn, 2013/02/18
- [AUCTeX-diffs] Changes to auctex/tex.el,v, Tassilo Horn, 2013/02/25
- [AUCTeX-diffs] Changes to auctex/tex.el,v,
Tassilo Horn <=