branch: elpa
commit e9ddab9c38927cedad9f059cd383c83f5e4b67ff
Author: Mosè Giordano <[email protected]>
Commit: Mosè Giordano <[email protected]>
Code cleaning
* latex.el (TeX-arg-document): Remove useless (mapcar 'identity ...).
Suggested by Marcin Borkowski.
* style/biblatex.el (LaTeX-biblatex-package-options): Ditto.
---
latex.el | 4 ++--
style/biblatex.el | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/latex.el b/latex.el
index e46fb86..d684120 100644
--- a/latex.el
+++ b/latex.el
@@ -1,6 +1,6 @@
;;; latex.el --- Support for LaTeX documents.
-;; Copyright (C) 1991, 1993-2015 Free Software Foundation, Inc.
+;; Copyright (C) 1991, 1993-2016 Free Software Foundation, Inc.
;; Maintainer: [email protected]
;; Keywords: tex
@@ -2059,7 +2059,7 @@ OPTIONAL and IGNORE are ignored."
TeX-arg-input-file-search)
(progn
(message "Searching for LaTeX classes...")
- (mapcar 'identity (TeX-search-files-by-type 'texinputs
'global t t)))
+ (TeX-search-files-by-type 'texinputs 'global t t))
LaTeX-style-list)))
(setq style (completing-read
(concat "Document class: (default " LaTeX-default-style ") ")
diff --git a/style/biblatex.el b/style/biblatex.el
index 8a42a45..06cd57a 100644
--- a/style/biblatex.el
+++ b/style/biblatex.el
@@ -1,6 +1,6 @@
;;; biblatex.el --- AUCTeX style for `biblatex.sty' version 2.8a.
-;; Copyright (C) 2012-2014 Free Software Foundation, Inc.
+;; Copyright (C) 2012-2014, 2016 Free Software Foundation, Inc.
;; Author: Ralf Angeli <[email protected]>
;; Maintainer: [email protected]
@@ -514,7 +514,7 @@ for citation keys."
(progn
(message "Searching for BibLaTeX styles...")
(setq BibLaTeX-global-style-files
- (mapcar 'identity (TeX-search-files-by-type 'bbxinputs 'global
t t))))
+ (TeX-search-files-by-type 'bbxinputs 'global t t)))
;; ...else, use for completion only standard BibLaTeX styles (see §3.3 of
;; Biblatex reference manual).
(setq BibLaTeX-global-style-files