From: Juanma Barranquero Date: Tue, 11 Feb 2003 23:47:11 +0000 (+0000) Subject: (makefile-font-lock-keywords): Fontify single character variable references, but X-Git-Tag: ttn-vms-21-2-B4~11230 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=61bc75ab6ca503e5be3b2736a5ce8e13f40f1722;p=emacs.git (makefile-font-lock-keywords): Fontify single character variable references, but protect shell variables references. (makefile-mode): Make `$' be punctuation in font-lock-defaults. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 661f697c045..9be8850740b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,10 @@ +2003-02-12 Simon Marshall + + * progmodes/make-mode.el (makefile-font-lock-keywords): Fontify + single character variable references, but protect shell variables + references. + (makefile-mode): Make `$' be punctuation in font-lock-defaults. + 2003-02-12 Ami Fischman Face markup of calendar and diary displays: Any entry line that @@ -18,8 +25,8 @@ (mark-visible-calendar-date): Add the ability to pass face attribute/value pairs in the mark argument. Handle the mark. - * diary-lib.el (diary-attrtype-convert): Convert an attribute - value string to the desired type. + * calendar/diary-lib.el (diary-attrtype-convert): Convert an + attribute value string to the desired type. (diary-pull-attrs): New function that pulls the attributes off a diary entry, merges with file-global attributes, and returns the (possibly modified) entry and a list of attribute/values using diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index 4d825f83239..98a3d460884 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el @@ -268,13 +268,16 @@ not be enclosed in { } or ( )." ;; Do dependencies. These get the function name face. (list makefile-dependency-regex 1 'font-lock-function-name-face) - ;; Variable references even in targets/strings/comments: + ;; Variable references even in targets/strings/comments. '("\\$[({]\\([-a-zA-Z0-9_.]+\\)[}):]" 1 font-lock-constant-face prepend) - ;; Automatic variable references. - '("\\$\\([@%\\)" 1 font-lock-reference-face prepend) '("\\$[({]\\([@%