Subject: bug#23294: 25.0.92; modify-file-local-variable-prop-line adds extra "; "

From: Noam Postavsky <[email-masked]>
Date: Tue, 05 Jun 2018 19:51:59 -0400

severity 23294 minor
found 23294 26.1
tags 23294 + confirmed easy
quit

Alexis <[email-masked]> writes:

> Mohammed Sadik P. K. <[email-masked]> writes:
>
>> For the function modify-file-local-variable-prop-line if run with
>> 'add-or-replace as the third argument, it should replace the current
>> values. It does, but along with replacing the values, it adds an
>> extra "; " at the beginning of the variable.
>
> Reproduced on 24.5 (Debian Jessie x86_64).

Right, looks like this expression in
modify-file-local-variable-prop-line should be modified to handle some
whitespace after the semicolon.

	  (if (and (not (eq (char-before) ?\;))