From c9df215b4124767def02fcbd83bba1a95171b921 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sat, 9 Nov 2013 11:49:42 +0100 Subject: [PATCH] * progmodes/sh-script.el (sh-font-lock-keywords-var): Force highlighting text after Summary keyword in doc face for rpm. --- lisp/ChangeLog | 5 +++++ lisp/progmodes/sh-script.el | 1 + 2 files changed, 6 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6ac129e6a27..79bb26c7dfb 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2013-11-09 Andreas Schwab + + * progmodes/sh-script.el (sh-font-lock-keywords-var): Force + highlighting text after Summary keyword in doc face for rpm. + 2013-11-09 Dmitry Gutov * textmodes/ispell.el (ispell-lookup-words): When `look' is not diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index 2cc43419f2b..3ac0868414b 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el @@ -942,6 +942,7 @@ See `sh-feature'.") (rpm sh-append rpm2 ("%{?\\(\\sw+\\)" 1 font-lock-keyword-face)) (rpm2 sh-append shell + ("^Summary:\\(.*\\)$" (1 font-lock-doc-face t)) ("^\\(\\sw+\\):" 1 font-lock-variable-name-face))) "Default expressions to highlight in Shell Script modes. See `sh-feature'.") -- 2.11.4.GIT