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

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

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


From: Alexis
Subject: bug#23294: 25.0.92; modify-file-local-variable-prop-line adds extra "; "
Date: Fri, 15 Apr 2016 17:55:58 +1000
User-agent: mu4e 0.9.16; emacs 24.5.3


Mohammed Sadik P. K. <sadiq@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.

Eg.:

my current first line: /* -*- mode: c; indent-tabs-mode: t; -*- */

I executed (modify-file-local-variable-prop-line 'indent-tabs-mode 'nil 'add-or-replace)

The result was:

   /* -*- mode: c; ; indent-tabs-mode: nil; -*- */

Expected result:

   /* -*- mode: c; indent-tabs-mode: nil; -*- */

Each time I run the function, an "; " is added.

Reproduced on 24.5 (Debian Jessie x86_64).





reply via email to

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