GNU bug report logs - #23294
25.0.92; modify-file-local-variable-prop-line adds extra "; "

Previous Next

Package: emacs;

Reported by: "Mohammed Sadik P. K." <sadiq <at> sadiqpk.org>

Date: Fri, 15 Apr 2016 05:14:02 UTC

Severity: minor

Tags: confirmed, easy, fixed, patch

Found in versions 25.0.92, 26.1

Fixed in version 26.2

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 23294 <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> gmail.com>
To: Alexis <flexibeast <at> gmail.com>
Cc: 23294 <at> debbugs.gnu.org, "Mohammed Sadik P. K." <sadiq <at> sadiqpk.org>
Subject: Re: bug#23294: 25.0.92;
 modify-file-local-variable-prop-line adds extra "; "
Date: Tue, 05 Jun 2018 19:51:59 -0400
severity 23294 minor
found 23294 26.1
tags 23294 + confirmed easy
quit

Alexis <flexibeast <at> gmail.com> writes:

> Mohammed Sadik P. K. <sadiq <at> sadiqpk.org> 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) ?\;))





This bug report was last modified 6 years and 323 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.