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 mailing list auctex-di...@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-diffs