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

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

[elpa] externals/auctex 96639fb 61/78: Fix previous commit.


From: Tassilo Horn
Subject: [elpa] externals/auctex 96639fb 61/78: Fix previous commit.
Date: Mon, 19 Oct 2015 09:11:11 +0000

branch: externals/auctex
commit 96639fbffa7b85680f2d48e92a47acda4ff965fc
Author: Mosè Giordano <address@hidden>
Commit: Mosè Giordano <address@hidden>

    Fix previous commit.
    
    * style/newfloat.el (LaTeX-newfloat-auto-cleanup): Replace another
    `pushnew' with `add-to-list', previously overlooked.
---
 ChangeLog         |    5 +++++
 style/newfloat.el |    5 ++---
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 8c677a2..e7daae0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-09-29  Mos� Giordano  <address@hidden>
+
+       * style/newfloat.el (LaTeX-newfloat-auto-cleanup): Replace another
+       `pushnew' with `add-to-list', previously overlooked.
+
 2015-09-28  Mos� Giordano  <address@hidden>
 
        * style/newfloat.el: Do not require cl at loading time.
diff --git a/style/newfloat.el b/style/newfloat.el
index 356fcec..48cee5e 100644
--- a/style/newfloat.el
+++ b/style/newfloat.el
@@ -115,9 +115,8 @@ Also define the macros \"listofENVs\" and \"listofENVes\"."
                `((,flt ?t ,LaTeX-table-label "~\\ref{%s}" caption nil nil)))))
            ((string-equal type "verbatim")
             (LaTeX-add-environments flt)
-            (make-local-variable 'LaTeX-indent-environment-list)
-            (pushnew `(,flt current-indentation)
-                     LaTeX-indent-environment-list :test #'equal)
+            (add-to-list (make-local-variable 'LaTeX-indent-environment-list)
+                         `(,flt current-indentation) t)
             (when (fboundp 'reftex-add-label-environments)
               (reftex-add-label-environments
                `((,flt ?l "lst:" "~\\ref{%s}" caption nil nil)))))



reply via email to

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