diff options
| author | Richard M. Stallman | 2001-11-25 00:02:05 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2001-11-25 00:02:05 +0000 |
| commit | eab26a2fe54db9849b4950db4ee8d86dcf6aac7a (patch) | |
| tree | a47845d43f800f53bdae3fbe7303066cca28b78d | |
| parent | 388d6ab529801240f42a2dffec4d7a6a1c5fa560 (diff) | |
| download | emacs-eab26a2fe54db9849b4950db4ee8d86dcf6aac7a.tar.gz emacs-eab26a2fe54db9849b4950db4ee8d86dcf6aac7a.zip | |
(sc-toggle-var): Don't use set-variable or eval-expression.
Eval and set the variable simply.
| -rw-r--r-- | lisp/mail/supercite.el | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
| 1870 | values are changed to nil." | 1870 | values are changed to nil." |
| 1871 | (message "%s changed from %s to %s" | 1871 | (message "%s changed from %s to %s" |
| 1872 | variable (symbol-value variable) | 1872 | variable (symbol-value variable) |
| 1873 | (set-variable variable (not (eval-expression variable)))) | 1873 | (set variable (not (symbol-value variable)))) |
| 1874 | (sc-set-mode-string)) | 1874 | (sc-set-mode-string)) |
| 1875 | 1875 | ||
| 1876 | (defun sc-set-variable (var) | 1876 | (defun sc-set-variable (var) |