branch: externals/auctex commit 1a83f1bd9f9602f60afde77941e7649e2cad261b Author: Arash Esbati <ar...@gnu.org> Commit: Arash Esbati <ar...@gnu.org>
; Remove `eval-when-compile' for latex.el * style/bicaption.el: * style/caption.el: * style/color.el: * style/floatrow.el: * style/xcolor.el: Require latex.el, not only at compile time. --- style/bicaption.el | 6 +++--- style/caption.el | 8 +++++--- style/color.el | 6 +++--- style/floatrow.el | 10 ++++++---- style/xcolor.el | 6 +++--- 5 files changed, 20 insertions(+), 16 deletions(-) diff --git a/style/bicaption.el b/style/bicaption.el index 5dc4063..4281bd1 100644 --- a/style/bicaption.el +++ b/style/bicaption.el @@ -1,6 +1,6 @@ ;;; bicaption.el --- AUCTeX style for `bicaption.sty' (v1.1-158) -;; Copyright (C) 2016--2018 Free Software Foundation, Inc. +;; Copyright (C) 2016--2019 Free Software Foundation, Inc. ;; Author: Arash Esbati <ar...@gnu.org> ;; Maintainer: auctex-devel@gnu.org @@ -34,8 +34,8 @@ ;;; Code: -(eval-when-compile - (require 'latex)) +;; Needed for compiling `LaTeX-check-insert-macro-default-style': +(require 'latex) ;; Silence the compiler: (declare-function font-latex-add-keywords diff --git a/style/caption.el b/style/caption.el index c38c1fa..c8f118d 100644 --- a/style/caption.el +++ b/style/caption.el @@ -1,6 +1,6 @@ ;;; caption.el --- AUCTeX style for `caption.sty' (v3.3-111) -;; Copyright (C) 2015--2018 Free Software Foundation, Inc. +;; Copyright (C) 2015--2019 Free Software Foundation, Inc. ;; Author: Arash Esbati <ar...@gnu.org> ;; Maintainer: auctex-devel@gnu.org @@ -35,8 +35,10 @@ ;;; Code: (eval-when-compile - (require 'cl-lib) - (require 'latex)) + (require 'cl-lib)) + +;; Needed for compiling `LaTeX-check-insert-macro-default-style': +(require 'latex) ;; Needed for auto-parsing: (require 'tex) diff --git a/style/color.el b/style/color.el index 30e575e..f8f850a 100644 --- a/style/color.el +++ b/style/color.el @@ -1,6 +1,6 @@ ;;; color.el --- AUCTeX style for `color.sty' (v1.1a) -;; Copyright (C) 2015--2018 Free Software Foundation, Inc. +;; Copyright (C) 2015--2019 Free Software Foundation, Inc. ;; Author: Arash Esbati <ar...@gnu.org> ;; Maintainer: auctex-devel@gnu.org @@ -34,8 +34,8 @@ ;;; Code: -(eval-when-compile - (require 'latex)) +;; Needed for compiling `LaTeX-check-insert-macro-default-style': +(require 'latex) ;; Silence the compiler: (declare-function font-latex-add-keywords diff --git a/style/floatrow.el b/style/floatrow.el index baad7cf..d26ca29 100644 --- a/style/floatrow.el +++ b/style/floatrow.el @@ -1,6 +1,6 @@ ;;; floatrow.el --- AUCTeX style for `floatrow.sty' (v0.3b) -;; Copyright (C) 2017, 2018 Free Software Foundation, Inc. +;; Copyright (C) 2017--2019 Free Software Foundation, Inc. ;; Author: Arash Esbati <ar...@gnu.org> ;; Maintainer: auctex-devel@gnu.org @@ -58,10 +58,12 @@ ;;; Code: -;; Needed for compiling `cl-pushnew' & `LaTeX-check-insert-macro-default-style': +;; Needed for compiling `cl-pushnew': (eval-when-compile - (require 'cl-lib) - (require 'latex)) + (require 'cl-lib)) + +;; Needed for compiling `LaTeX-check-insert-macro-default-style': +(require 'latex) ;; Needed for auto-parsing: (require 'tex) diff --git a/style/xcolor.el b/style/xcolor.el index db820c7..2d6b3c5 100644 --- a/style/xcolor.el +++ b/style/xcolor.el @@ -1,6 +1,6 @@ ;; xcolor.el --- AUCTeX style for `xcolor.sty' (v2.12) -;; Copyright (C) 2016--2018 Free Software Foundation, Inc. +;; Copyright (C) 2016--2019 Free Software Foundation, Inc. ;; Author: Arash Esbati <ar...@gnu.org> ;; Maintainer: auctex-devel@gnu.org @@ -44,8 +44,8 @@ ;;; Code: -(eval-when-compile - (require 'latex)) +;; Needed for compiling `LaTeX-check-insert-macro-default-style': +(require 'latex) ;; Silence the compiler: (declare-function font-latex-add-keywords _______________________________________________ auctex-diffs mailing list auctex-di...@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-diffs