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

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

Re: RE: Highlight tabulated and trailing whitespace


From: steve-humphreys
Subject: Re: RE: Highlight tabulated and trailing whitespace
Date: Mon, 28 Dec 2020 18:06:39 +0100

I thought that if it was not defined, it would go to the any expval match _
when the variable is then set up as buffer-local.

When I use

(defvar display-cycle-state 0) things do work.

> Sent: Monday, December 28, 2020 at 10:25 PM
> From: "Drew Adams" <drew.adams@oracle.com>
> To: steve-humphreys@gmx.com
> Cc: help-gnu-emacs@gnu.org, moasenwood@zoho.eu
> Subject: RE: Highlight tabulated and trailing whitespace
>
> Where is that variable supposed to come from?
> I don't see it with vanilla Emacs 26 (`emacs -Q').
>
> Perhaps you need to load some library first, so
> it becomes defined.
>
> And perhaps it's actually a function?  If not,
> why do you bother to bind it to `n', which isn't
> modified anywhere?  Is it only to have a shorter
> variable name when you refer to the value (i.e.,
> instead of referring to `display-cycle-stae')?
> Not clear to me what you're trying to do.
>
> > Debugger entered--Lisp error: (void-variable display-cycle-state)
> >   (let ((n display-cycle-state))
> >
> > > (let ((n display-cycle-state))
> > >   (pcase n ...
>



reply via email to

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