aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorGlenn Morris <[email protected]>2007-10-13 23:01:09 +0000
committerGlenn Morris <[email protected]>2007-10-13 23:01:09 +0000
commit47aad890c4be123dd7f6e0dfe396cc193b5a7afd (patch)
tree86f45ce9ad1ada8fc5cb2ed5327c8281a9eb8bce /lisp/textmodes
parent9001c33fa7e5b64b3ab5388c810c0ed8f100e129 (diff)
(reftex-select-item): Use mapc rather than mapcar.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/reftex-sel.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/textmodes/reftex-sel.el b/lisp/textmodes/reftex-sel.el
index 4551068af9..d08694c208 100644
--- a/lisp/textmodes/reftex-sel.el
+++ b/lisp/textmodes/reftex-sel.el
@@ -418,11 +418,11 @@ During a selection process, these are the local bindings.
(set-buffer selection-buffer)
(use-local-map nil)
(remove-hook 'pre-command-hook 'reftex-select-pre-command-hook t)
- (remove-hook 'post-command-hook
+ (remove-hook 'post-command-hook
'reftex-select-post-command-hook t))
;; Kill the mark overlays
- (mapcar (lambda (c) (reftex-delete-overlay (nth 1 c)))
- reftex-select-marked)))))
+ (mapc (lambda (c) (reftex-delete-overlay (nth 1 c)))
+ reftex-select-marked)))))
(set (make-local-variable 'reftex-last-line)
(+ (count-lines (point-min) (point)) (if (bolp) 1 0)))