# HG changeset patch # User Juanma Barranquero # Date 1190765192 0 # Node ID 23f1c8af4174122ade77e9ef4f1d2a19625a0194 # Parent 78676680401534bb68d5ae3c95a940b876ed0a80 (another-calc): Use `mapc' rather than `mapcar'. diff -r 786766804015 -r 23f1c8af4174 lisp/calc/calc-misc.el --- a/lisp/calc/calc-misc.el Wed Sep 26 00:06:05 2007 +0000 +++ b/lisp/calc/calc-misc.el Wed Sep 26 00:06:32 2007 +0000 @@ -145,9 +145,9 @@ "Create another, independent Calculator buffer." (interactive) (if (eq major-mode 'calc-mode) - (mapcar (function - (lambda (v) - (set-default v (symbol-value v)))) calc-local-var-list)) + (mapc (function + (lambda (v) + (set-default v (symbol-value v)))) calc-local-var-list)) (set-buffer (generate-new-buffer "*Calculator*")) (pop-to-buffer (current-buffer)) (calc-mode))