monnier pushed a commit to branch externals/auctex in repository elpa. commit 6ff4fca5fc332789c8e295cc38a3334019ccfef1 Author: Stefan Monnier <monn...@iro.umontreal.ca> Date: Wed Nov 26 15:07:23 2014 -0500
Add requires to fix separate compilation. --- latex.el | 1 + preview.el | 3 ++- style/acro.el | 4 +++- style/acronym.el | 4 +++- style/siunitx.el | 2 ++ 5 files changed, 11 insertions(+), 3 deletions(-) diff --git a/latex.el b/latex.el index af1c676..549fe67 100644 --- a/latex.el +++ b/latex.el @@ -30,6 +30,7 @@ (require 'tex) (require 'tex-style) +(eval-when-compile (require 'cl)) ;;; Syntax diff --git a/preview.el b/preview.el index 8619ffe..4373084 100644 --- a/preview.el +++ b/preview.el @@ -506,7 +506,8 @@ of a cell used for string concatenation." (t (error "Bad string expansion")))) (defconst preview-expandable-string - ((lambda (f) (funcall f (funcall f 'sexp))) + (funcall + (lambda (f) (funcall f (funcall f 'sexp))) (lambda (x) `(choice string diff --git a/style/acro.el b/style/acro.el index fda4b71..6d74533 100644 --- a/style/acro.el +++ b/style/acro.el @@ -1,6 +1,6 @@ ;;; acro.el --- AUCTeX style for `acro.sty' version 1.2a. -;; Copyright (C) 2013 Free Software Foundation, Inc. +;; Copyright (C) 2013, 2014 Free Software Foundation, Inc. ;; Maintainer: auctex-devel@gnu.org ;; Author: Mosè Giordano <giordano.m...@libero.it> @@ -29,6 +29,8 @@ ;;; Code: +(require 'tex) ;Indispensable when compiling the call to `TeX-auto-add-type'. + (defvar LaTeX-acro-package-options-list '(;; General Options ("version" ("0" "1")) diff --git a/style/acronym.el b/style/acronym.el index ea29d1b..b97f80a 100644 --- a/style/acronym.el +++ b/style/acronym.el @@ -1,6 +1,6 @@ ;;; acronym.el --- AUCTeX style for `acronym.sty' version 1.38. -;; Copyright (C) 2013 Free Software Foundation, Inc. +;; Copyright (C) 2013, 2014 Free Software Foundation, Inc. ;; Maintainer: auctex-devel@gnu.org ;; Author: Mosè Giordano <giordano.m...@libero.it> @@ -29,6 +29,8 @@ ;;; Code: +(require 'tex) ;Indispensable when compiling the call to `TeX-auto-add-type'. + (TeX-auto-add-type "acronym" "LaTeX") ;; Self Parsing -- see (info "(auctex)Hacking the Parser"). diff --git a/style/siunitx.el b/style/siunitx.el index 9722638..b279cc1 100644 --- a/style/siunitx.el +++ b/style/siunitx.el @@ -29,6 +29,8 @@ ;;; Code: +(require 'tex) ;Indispensable when compiling the call to `TeX-auto-add-type'. + (TeX-auto-add-type "siunitx-unit" "LaTeX") ;; Self Parsing -- see (info "(auctex)Hacking the Parser"). `\(?:\[.*\]\)?' _______________________________________________ auctex-devel mailing list auctex-devel@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-devel