branch: elpa
commit 8dd14550e632d8128314c7235ded9a8979d0379a
Author: Mosè Giordano <[email protected]>
Commit: Mosè Giordano <[email protected]>
Fix in style/babel.el.
* style/babel.el (LaTeX-babel-active-languages): Move `nreverse'
call inside `let'.
---
ChangeLog | 5 +++++
style/babel.el | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index dd76553..d0c1160 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-09 Mos� Giordano <[email protected]>
+
+ * style/babel.el (LaTeX-babel-active-languages): Move `nreverse'
+ call inside `let'.
+
2014-12-08 Stefan Monnier <[email protected]>
* tex.el (TeX-mode-specific-command-menu): Remove Emacs 20
diff --git a/style/babel.el b/style/babel.el
index e35177b..c1119b9 100644
--- a/style/babel.el
+++ b/style/babel.el
@@ -111,8 +111,8 @@
;; except if it is set with the `main' option.
(pushnew elt active-languages :test #'equal))))
(if main-language
- (pushnew main-language active-languages :test #'equal)))
- (nreverse active-languages))
+ (pushnew main-language active-languages :test #'equal))
+ (nreverse active-languages)))
(defun TeX-arg-babel-lang (_optional &optional _prompt)
"Prompt for a language with completion and insert it as an argument."