summaryrefslogtreecommitdiff
path: root/lisp/textmodes/reftex-cite.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2007-10-12 06:39:21 +0000
committerGlenn Morris <rgm@gnu.org>2007-10-12 06:39:21 +0000
commit551e625ffe12c7189ac631326dc8d4a7f06d8b0f (patch)
tree903006fab83bd432fb72678dbdd41b16af746e3e /lisp/textmodes/reftex-cite.el
parentfe2ca5ece2678c45c9643f7b062746665980f40d (diff)
downloademacs-551e625ffe12c7189ac631326dc8d4a7f06d8b0f.tar.gz
Remove some trailing whitespace.
(reftex-do-citation) (reftex-insert-bib-matches): Use mapc rather than mapcar.
Diffstat (limited to 'lisp/textmodes/reftex-cite.el')
-rw-r--r--lisp/textmodes/reftex-cite.el16
1 files changed, 8 insertions, 8 deletions
diff --git a/lisp/textmodes/reftex-cite.el b/lisp/textmodes/reftex-cite.el
index c8a64b8aecc..46becd26dd4 100644
--- a/lisp/textmodes/reftex-cite.el
+++ b/lisp/textmodes/reftex-cite.el
@@ -702,26 +702,26 @@ While entering the regexp, completion on knows citation keys is possible.
(delete-char 1))
;; Tell AUCTeX
- (when (and reftex-mode
+ (when (and reftex-mode
(fboundp 'LaTeX-add-bibitems)
reftex-plug-into-AUCTeX)
(apply 'LaTeX-add-bibitems (mapcar 'car selected-entries)))
-
+
;; Produce the cite-view strings
(when (and reftex-mode reftex-cache-cite-echo cite-view)
- (mapcar (lambda (entry)
- (reftex-make-cite-echo-string entry docstruct-symbol))
- selected-entries))
+ (mapc (lambda (entry)
+ (reftex-make-cite-echo-string entry docstruct-symbol))
+ selected-entries))
(message ""))
(set-marker reftex-select-return-marker nil)
(reftex-kill-buffer "*RefTeX Select*")
-
+
;; Check if the prefix arg was numeric, and call recursively
(when (integerp arg)
(if (> arg 1)
- (progn
+ (progn
(skip-chars-backward "}")
(decf arg)
(reftex-do-citation arg))
@@ -954,7 +954,7 @@ While entering the regexp, completion on knows citation keys is possible.
reftex-mouse-selected-face
nil))
tmp len)
- (mapcar
+ (mapc
(lambda (x)
(setq tmp (cdr (assoc "&formatted" x))
len (length tmp))