changeset 57116:344baab70c72

calc/calc-embed.el (calc-embedded-set-modes): Use `calc-mode-var-list' correctly.
author Jay Belanger <jay.p.belanger@gmail.com>
date Wed, 15 Sep 2004 16:49:04 +0000
parents abc0e9beaacd
children d2ffbe58525c
files lisp/calc/calc-embed.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calc/calc-embed.el	Wed Sep 15 16:48:19 2004 +0000
+++ b/lisp/calc/calc-embed.el	Wed Sep 15 16:49:04 2004 +0000
@@ -557,7 +557,7 @@
 	       (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)