help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Refresh display after changing variable


From: Eli Zaretskii
Subject: Re: Refresh display after changing variable
Date: Mon, 02 Aug 2021 22:40:27 +0300

> From: Ken Goldman <kgoldman@us.ibm.com>
> Date: Mon, 2 Aug 2021 15:36:01 -0400
> 
> >    (defun kg-toggle-whitespace-line-column ()
> >       "Toggle whitespace line column between 80 and 101"
> >       (interactive)
> >       (setq whitespace-line-column (if (= whitespace-line-column 80) 101 
> > 80))
> >       (whitespace-mode 1))
> > 
> > 
> That didn't work.

<Shrug> It does here.

> It seems that, once it's on, turning it on again doesn't help.  I
> tried adding a nil first, but it doesn't help.

Turning whitespace-mode off and on doesn't help?

> It doesn't force redoing the fonts.

What do fonts have to do with this?

> This is emacs 26.3 on ubuntu, of that matters.

I tried in Emacs 28, FWIW.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]