Commit eab26a2f authored by Richard M. Stallman's avatar Richard M. Stallman

(sc-toggle-var): Don't use set-variable or eval-expression.

Eval and set the variable simply.
parent 388d6ab5
......@@ -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))))
(defun sc-set-variable (var)
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