branch: externals/auctex
commit 8779f2ded8a1a9a06d18ef87203db375685beda2
Author: Arash Esbati <[email protected]>
Commit: Arash Esbati <[email protected]>
* style/babel.el (LaTeX-babel-active-languages): Use `cl-pushnew'.
---
style/babel.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/style/babel.el b/style/babel.el
index d8c5e3f..8f4fce4 100644
--- a/style/babel.el
+++ b/style/babel.el
@@ -110,9 +110,9 @@
;; Append element to `active-languages' to respect loading order.
;; `babel' package uses as default language the last loaded one,
;; except if it is set with the `main' option.
- (pushnew elt active-languages :test #'equal))))
+ (cl-pushnew elt active-languages :test #'equal))))
(if main-language
- (pushnew main-language active-languages :test #'equal))
+ (cl-pushnew main-language active-languages :test #'equal))
(nreverse active-languages)))
(defun TeX-arg-babel-lang (_optional &optional _prompt)