[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20787: 24.3; make-mode doesn't hightlight macro assignments preceede
From: |
Eli Zaretskii |
Subject: |
bug#20787: 24.3; make-mode doesn't hightlight macro assignments preceeded by a TAB |
Date: |
Tue, 23 Feb 2016 18:16:45 +0200 |
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Tue, 23 Feb 2016 21:07:19 +1100
> Cc: 20787@debbugs.gnu.org
>
> "John F. Trudeau" <JFTrudeau@aetna.com> writes:
>
> > The constant makefile-macroassign-regex (used for highlighting), in
> > make-mode.el, does not find an assignment that is preceded by a TAB
> > character. The attached patch corrects the regular expression to allow
> > TAB as well as SPACE before an assignment, which corrects highlighting.
> >
> > -rw-r--r-- trudeajo/users 158 ChangeLog
> > -rw-r--r-- trudeajo/users 2101 make-mode.el.patch
> >
> > This bug has endured through many emacs releases.
>
> I've detarred the patch and included it below, but I can't really say
> whether it makes sense or not. Anybody?
LGTM, thanks.