Commit f10b7b1b authored by Jay Belanger's avatar Jay Belanger
Browse files

calc/calc-embed.el (calc-embedded-set-modes): Use

`calc-mode-var-list' correctly.
parent 7b2cda38
......@@ -557,7 +557,7 @@ The command \\[yank] can retrieve it from there."
(not (eq (cdr found) 'default)))
(progn
(if (eq (setq value (cdr (car v))) 'default)
(setq value (cdr (assq (car (car v)) calc-mode-var-list))))
(setq value (list (nth 1 (assq (car (car v)) calc-mode-var-list)))))
(equal (symbol-value (car (car v))) value))
(progn
(setq changed t)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment