diff options
| author | Gerd Moellmann | 2001-01-10 15:10:01 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-01-10 15:10:01 +0000 |
| commit | a2aef0802847f4c0b0b4c339a44c225afc096c95 (patch) | |
| tree | 3ce20c331d7830364220512620d3affa01dd2b5b | |
| parent | d2622d08b696088ab1318c568a86ce7a72db4656 (diff) | |
| download | emacs-a2aef0802847f4c0b0b4c339a44c225afc096c95.tar.gz emacs-a2aef0802847f4c0b0b4c339a44c225afc096c95.zip | |
(set-variable): Force a thorough redisplay for the
case that the variable has an effect on the display, like
`tab-width' has.
| -rw-r--r-- | lisp/simple.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index 6aae21a3f0c..f9839826ff6 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -3491,7 +3491,11 @@ in the definition is used to check that VALUE is valid." | |||
| 3491 | (unless (widget-apply type :match val) | 3491 | (unless (widget-apply type :match val) |
| 3492 | (error "Value `%S' does not match type %S of %S" | 3492 | (error "Value `%S' does not match type %S of %S" |
| 3493 | val (car type) var)))) | 3493 | val (car type) var)))) |
| 3494 | (set var val)) | 3494 | (set var val) |
| 3495 | |||
| 3496 | ;; Force a thorough redisplay for the case that the variable | ||
| 3497 | ;; has an effect on the display, like `tab-width' has. | ||
| 3498 | (force-mode-line-update)) | ||
| 3495 | 3499 | ||
| 3496 | ;; Define the major mode for lists of completions. | 3500 | ;; Define the major mode for lists of completions. |
| 3497 | 3501 | ||