From: Richard M. Stallman Date: Sun, 25 Nov 2001 00:02:05 +0000 (+0000) Subject: (sc-toggle-var): Don't use set-variable or eval-expression. X-Git-Tag: ttn-vms-21-2-B4~18220 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=eab26a2fe54db9849b4950db4ee8d86dcf6aac7a;p=emacs.git (sc-toggle-var): Don't use set-variable or eval-expression. Eval and set the variable simply. --- diff --git a/lisp/mail/supercite.el b/lisp/mail/supercite.el index db4a492de1d..e1bac745bfc 100644 --- a/lisp/mail/supercite.el +++ b/lisp/mail/supercite.el @@ -1870,7 +1870,7 @@ VARIABLE must be a bound symbol. Nil values change to t, non-nil values are changed to nil." (message "%s changed from %s to %s" variable (symbol-value variable) - (set-variable variable (not (eval-expression variable)))) + (set variable (not (symbol-value variable)))) (sc-set-mode-string)) (defun sc-set-variable (var)