diff options
author | Glenn Morris <rgm@gnu.org> | 2007-10-12 06:39:21 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2007-10-12 06:39:21 +0000 |
commit | 551e625ffe12c7189ac631326dc8d4a7f06d8b0f (patch) | |
tree | 903006fab83bd432fb72678dbdd41b16af746e3e /lisp/textmodes/reftex-cite.el | |
parent | fe2ca5ece2678c45c9643f7b062746665980f40d (diff) | |
download | emacs-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.el | 16 |
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)) |