mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-24 10:38:38 +00:00
(another-calc): Use mapc' rather than
mapcar'.
This commit is contained in:
parent
c740ee8b90
commit
ab58914bb6
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user