diff options
author | Glenn Morris <rgm@gnu.org> | 2007-10-13 23:01:09 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2007-10-13 23:01:09 +0000 |
commit | 47aad890c4be123dd7f6e0dfe396cc193b5a7afd (patch) | |
tree | 86f45ce9ad1ada8fc5cb2ed5327c8281a9eb8bce /lisp/textmodes/reftex-sel.el | |
parent | 9001c33fa7e5b64b3ab5388c810c0ed8f100e129 (diff) | |
download | emacs-47aad890c4be123dd7f6e0dfe396cc193b5a7afd.tar.gz |
(reftex-select-item): Use mapc rather than mapcar.
Diffstat (limited to 'lisp/textmodes/reftex-sel.el')
-rw-r--r-- | lisp/textmodes/reftex-sel.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/textmodes/reftex-sel.el b/lisp/textmodes/reftex-sel.el index 4551068af90..d08694c2080 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))) |