From: Juanma Barranquero Date: Wed, 26 Sep 2007 00:06:32 +0000 (+0000) Subject: (another-calc): Use `mapc' rather than `mapcar'. X-Git-Tag: emacs-pretest-23.0.90~10654 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ab58914bb6b45edabc4bd1da9a01014ca49ea70a;p=emacs.git (another-calc): Use `mapc' rather than `mapcar'. --- diff --git a/lisp/calc/calc-misc.el b/lisp/calc/calc-misc.el index 10222fc1625..b660e046a21 100644 --- a/lisp/calc/calc-misc.el +++ b/lisp/calc/calc-misc.el @@ -145,9 +145,9 @@ Calc user interface as before (either C-x * C or C-x * K; initially C-x * C). "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))