Mercurial > emacs
changeset 84908:862e65546389
(viper-setup-master-buffer): Use `mapc' rather than `mapcar'.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Wed, 26 Sep 2007 00:18:24 +0000 |
parents | 80f409ec2b40 |
children | 696d13905618 |
files | lisp/emulation/viper-util.el |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/emulation/viper-util.el Wed Sep 26 00:17:55 2007 +0000 +++ b/lisp/emulation/viper-util.el Wed Sep 26 00:18:24 2007 +0000 @@ -1260,9 +1260,9 @@ the `Local variables' section of a file." (setq viper-related-files-and-buffers-ring (make-ring (1+ (length other-files-or-buffers)))) - (mapcar '(lambda (elt) - (viper-ring-insert viper-related-files-and-buffers-ring elt)) - other-files-or-buffers) + (mapc '(lambda (elt) + (viper-ring-insert viper-related-files-and-buffers-ring elt)) + other-files-or-buffers) (viper-ring-insert viper-related-files-and-buffers-ring (buffer-name)) )