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

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

bug#28916: 25.1; octave-block-offset should be safe as file-local variab


From: Lars Ingebrigtsen
Subject: bug#28916: 25.1; octave-block-offset should be safe as file-local variable
Date: Mon, 15 Jul 2019 00:01:49 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Benjamin Moody <benjaminmoody@gmail.com> writes:

> The variable 'octave-block-offset' determines the number of spaces used
> for automatically indenting Octave code.
>
> Like similar variables used in other modes (e.g. c-basic-offset), it is
> often desirable to set this variable on a per-file or per-directory
> basis, in order to conform with a project's existing indentation style.
>
> Thus, this variable should be marked as "safe as a file local variable
> if its value satisfies the predicate ‘integerp’."

Makes sense; I've now marked it as such on the Emacs trunk.

-- 
(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]