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

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

Re: whitespace-mode highlighting colour


From: Emanuel Berg
Subject: Re: whitespace-mode highlighting colour
Date: Sat, 02 Jan 2021 07:22:53 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

michael-franzese wrote:

> Is there any requires sequence to use with whitespace-mode?
> Have done as follows.
>
> (setq whitespace-style
>           '(face tab-mark tabs trailing))
> (whitespace-mode 1)
> (set-face-attribute whitespace-tab nil
>    :foreground "black" :background "#FF5E5E")

byte-compile to find out:

  In toplevel form:
  geh.el:240:7: Warning: assignment to free variable ‘whitespace-style’
  geh.el:243:21: Warning: reference to free variable ‘whitespace-tab’

just add (require 'whitespace)

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal




reply via email to

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