branch: externals/auctex
commit 96639fbffa7b85680f2d48e92a47acda4ff965fc
Author: Mosè Giordano <[email protected]>
Commit: Mosè Giordano <[email protected]>
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 <[email protected]>
+
+ * style/newfloat.el (LaTeX-newfloat-auto-cleanup): Replace another
+ `pushnew' with `add-to-list', previously overlooked.
+
2015-09-28 Mos� Giordano <[email protected]>
* 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)))))