Mercurial > emacs
changeset 85197:861bd8efa4d6
(reftex-offer-label-menu): Use mapc rather than mapcar.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Fri, 12 Oct 2007 06:37:58 +0000 |
parents | 5aad543561c0 |
children | dae14770f516 |
files | lisp/textmodes/reftex-ref.el |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/textmodes/reftex-ref.el Fri Oct 12 06:36:27 2007 +0000 +++ b/lisp/textmodes/reftex-ref.el Fri Oct 12 06:37:58 2007 +0000 @@ -665,10 +665,10 @@ (save-excursion (while reftex-buffers-with-changed-invisibility (set-buffer (car (car reftex-buffers-with-changed-invisibility))) - (setq buffer-invisibility-spec + (setq buffer-invisibility-spec (cdr (pop reftex-buffers-with-changed-invisibility))))) - (mapcar (lambda (buf) (and (buffer-live-p buf) (bury-buffer buf))) - selection-buffers) + (mapc (lambda (buf) (and (buffer-live-p buf) (bury-buffer buf))) + selection-buffers) (reftex-kill-temporary-buffers)) ;; Add the prefixes, put together the relevant information in the form ;; (LABEL TYPEKEY SEPARATOR) and return a list of those.