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

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

bug#20818: 24.3; `whitespace-line-column' should be a safe file-local va


From: Lars Ingebrigtsen
Subject: bug#20818: 24.3; `whitespace-line-column' should be a safe file-local variable
Date: Thu, 01 Aug 2019 23:24:30 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Philipp Stephani <p.stephani2@gmail.com> writes:

> Create a file that has `whitespace-line-column' as file-local variable.
> Upon loading the file, the prompt for applying this unsafe variable
> appears.  I think the variable could be marked safe if it's either an
> integer or nil.

Looks like this has been fixed in the years since this bug was filed:

  This variable is safe as a file local variable if its value
  satisfies the predicate ‘integerp’.

It's only for integerp, not nil, though.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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