Mercurial > emacs
changeset 41459:36f463a17ea9
(sc-toggle-var): Don't use set-variable or eval-expression.
Eval and set the variable simply.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 25 Nov 2001 00:02:05 +0000 |
parents | 7da74fc76e19 |
children | cdee72f7332b |
files | lisp/mail/supercite.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/mail/supercite.el Sat Nov 24 23:59:28 2001 +0000 +++ b/lisp/mail/supercite.el Sun Nov 25 00:02:05 2001 +0000 @@ -1870,7 +1870,7 @@ 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)