]> code.delx.au - gnu-emacs/commitdiff
* progmodes/sh-script.el (sh-font-lock-keywords-var): Force
authorAndreas Schwab <schwab@linux-m68k.org>
Sat, 9 Nov 2013 10:49:42 +0000 (11:49 +0100)
committerAndreas Schwab <schwab@linux-m68k.org>
Sat, 9 Nov 2013 10:49:42 +0000 (11:49 +0100)
highlighting text after Summary keyword in doc face for rpm.

lisp/ChangeLog
lisp/progmodes/sh-script.el

index 6ac129e6a27c9cd7ec9f048de1f0e78c3737a90f..79bb26c7dfb31cbc84df6978e0d9baa9a6e5b486 100644 (file)
@@ -1,3 +1,8 @@
+2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * 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  <dgutov@yandex.ru>
 
        * textmodes/ispell.el (ispell-lookup-words): When `look' is not
index 2cc43419f2b7c898bece95fb1a51bb368a2fb87e..3ac0868414bf3f74129e37a3f164445949c5cadc 100644 (file)
@@ -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'.")