emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/auctex 7b427a7 34/36: Merge ELPA changes fixing some by


From: Stefan Monnier
Subject: [elpa] externals/auctex 7b427a7 34/36: Merge ELPA changes fixing some byte-compile warnings.
Date: Fri, 28 Nov 2014 17:25:53 +0000

branch: externals/auctex
commit 7b427a7c6f2dc8f8e56d1e8e6f7752d1e4f61643
Author: Stefan Monnier <address@hidden>
Date:   Fri Nov 28 09:32:42 2014 +0100

    Merge ELPA changes fixing some byte-compile warnings.
    
    * style/siunitx.el (tex): Require tex because its indispensable
    when compiling the call to TeX-auto-add-type.
    
    * style/acronym.el (tex): Ditto.
    
    * style/acro.el (tex): Ditto.
    
    Signed-off-by: Tassilo Horn <address@hidden>
---
 ChangeLog        |    9 +++++++++
 latex.el         |    2 +-
 style/acro.el    |    4 +++-
 style/acronym.el |    4 +++-
 style/siunitx.el |    2 ++
 5 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 6f450ba..95ee0ea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2014-11-28  Stefan Monnier  <address@hidden>
+
+       * style/siunitx.el (tex): Require tex because its indispensable
+       when compiling the call to TeX-auto-add-type.
+
+       * style/acronym.el (tex): Ditto.
+
+       * style/acro.el (tex): Ditto.
+
 2014-11-27  Mos� Giordano  <address@hidden>
 
        * latex.el (LaTeX-label-alist): Expand doc string.
diff --git a/latex.el b/latex.el
index 067a776..0022ae2 100644
--- a/latex.el
+++ b/latex.el
@@ -28,9 +28,9 @@
 
 ;;; Code:
 
-(eval-when-compile (require 'cl))       ;FIXME: Use cl-lib.
 (require 'tex)
 (require 'tex-style)
+(eval-when-compile (require 'cl))       ;FIXME: Use cl-lib.
 
 ;;; Syntax
 
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: address@hidden
 ;; Author: Mosè Giordano <address@hidden>
@@ -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: address@hidden
 ;; Author: Mosè Giordano <address@hidden>
@@ -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").  
`\\(?:\\[.*\\]\\)?'



reply via email to

[Prev in Thread] Current Thread [Next in Thread]