Mercurial > emacs
changeset 35203:dcf1f0621dbb
(set-variable): Force a thorough redisplay for the
case that the variable has an effect on the display, like
`tab-width' has.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 10 Jan 2001 15:10:01 +0000 |
parents | 6e2eb31f0868 |
children | 5ff35be3bb08 |
files | lisp/simple.el |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/simple.el Wed Jan 10 14:45:48 2001 +0000 +++ b/lisp/simple.el Wed Jan 10 15:10:01 2001 +0000 @@ -3491,7 +3491,11 @@ (unless (widget-apply type :match val) (error "Value `%S' does not match type %S of %S" val (car type) var)))) - (set var val)) + (set var val) + + ;; Force a thorough redisplay for the case that the variable + ;; has an effect on the display, like `tab-width' has. + (force-mode-line-update)) ;; Define the major mode for lists of completions.