]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
po-mode: Enable highlighting of #, lines.
authorTakesi Ayanokoji <ayanokoji.takesi@gmail.com>
Sat, 30 Mar 2019 13:30:13 +0000 (14:30 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 30 Mar 2019 13:33:31 +0000 (14:33 +0100)
* gettext-tools/emacs/po-mode.el (po-font-lock-keywords): Add rule for #, lines.

gettext-tools/emacs/po-mode.el

index 326b3d739d0d27f0749f7695dfcd9ce037d7dffc..b898a71dbc04f38edf085233fb18115e6d66965c 100644 (file)
@@ -916,8 +916,7 @@ M-S  Ignore path          M-A  Ignore PO file      *M-L  Ignore lexicon
     ("\\\\.\\|%[*$-.0-9hjltuzL]*[a-zA-Z]" . font-lock-variable-name-face)
     ("^# .*\\|^#[:,]?" . font-lock-comment-face)
     ("^#:\\(.*\\)" 1 font-lock-reference-face)
-    ;; The following line does not work, and I wonder why.
-    ;;("^#,\\(.*\\)" 1 font-function-name-reference-face)
+    ("^#,\\(.*\\)" 1 font-lock-function-name-face)
     )
   "Additional expressions to highlight in PO mode.")