[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: |
Noam Postavsky |
Subject: |
bug#23294: 25.0.92; modify-file-local-variable-prop-line adds extra "; " |
Date: |
Wed, 15 Aug 2018 20:02:01 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
tags 23294 + patch
quit
Wenjamin Petrenko <wenjamin.petrenko@yandex.com> writes:
> Subject: [PATCH] Fix bug#23294
>
> * lisp/files-x.el (modify-file-local-variable-prop-line): Handle
> whitespace when checking if there's a ';' before the variable name.
> - (if (and (not (eq (char-before) ?\;))
> + (if (and (save-excursion
> + (skip-chars-backward " \t")
> + (not (eq (char-before) ?\;)))
This looks reasonable. Could you give a more informative summary line
please? I.e., one where I can see what the bug is about without having
memorized all bug numbers. And same for your email subject headers, if
you don't mind.
- bug#23294:, Wenjamin Petrenko, 2018/08/14
- bug#23294: 25.0.92; modify-file-local-variable-prop-line adds extra "; ",
Noam Postavsky <=