From a2aef0802847f4c0b0b4c339a44c225afc096c95 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Wed, 10 Jan 2001 15:10:01 +0000 Subject: [PATCH] (set-variable): Force a thorough redisplay for the case that the variable has an effect on the display, like `tab-width' has. --- lisp/simple.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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." (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. -- 2.39.5