diff options
| author | Glenn Morris | 2007-10-12 06:37:58 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-10-12 06:37:58 +0000 |
| commit | fe2ca5ece2678c45c9643f7b062746665980f40d (patch) | |
| tree | 0cf15b2acaae8962fa363daf0f1cc1e238147194 | |
| parent | 91529f3d15ee48227884b0e9be93b485765b0828 (diff) | |
| download | emacs-fe2ca5ece2678c45c9643f7b062746665980f40d.tar.gz emacs-fe2ca5ece2678c45c9643f7b062746665980f40d.zip | |
(reftex-offer-label-menu): Use mapc rather than mapcar.
| -rw-r--r-- | lisp/textmodes/reftex-ref.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/textmodes/reftex-ref.el b/lisp/textmodes/reftex-ref.el index 3294c4c22a9..c004602757c 100644 --- a/lisp/textmodes/reftex-ref.el +++ b/lisp/textmodes/reftex-ref.el | |||
| @@ -665,10 +665,10 @@ When called with 2 C-u prefix args, disable magic word recognition." | |||
| 665 | (save-excursion | 665 | (save-excursion |
| 666 | (while reftex-buffers-with-changed-invisibility | 666 | (while reftex-buffers-with-changed-invisibility |
| 667 | (set-buffer (car (car reftex-buffers-with-changed-invisibility))) | 667 | (set-buffer (car (car reftex-buffers-with-changed-invisibility))) |
| 668 | (setq buffer-invisibility-spec | 668 | (setq buffer-invisibility-spec |
| 669 | (cdr (pop reftex-buffers-with-changed-invisibility))))) | 669 | (cdr (pop reftex-buffers-with-changed-invisibility))))) |
| 670 | (mapcar (lambda (buf) (and (buffer-live-p buf) (bury-buffer buf))) | 670 | (mapc (lambda (buf) (and (buffer-live-p buf) (bury-buffer buf))) |
| 671 | selection-buffers) | 671 | selection-buffers) |
| 672 | (reftex-kill-temporary-buffers)) | 672 | (reftex-kill-temporary-buffers)) |
| 673 | ;; Add the prefixes, put together the relevant information in the form | 673 | ;; Add the prefixes, put together the relevant information in the form |
| 674 | ;; (LABEL TYPEKEY SEPARATOR) and return a list of those. | 674 | ;; (LABEL TYPEKEY SEPARATOR) and return a list of those. |