From: Takesi Ayanokoji Date: Sat, 30 Mar 2019 13:30:13 +0000 (+0100) Subject: po-mode: Enable highlighting of #, lines. X-Git-Tag: v0.20~99 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=57ca33dedd0d3d6c16b17f3c21ee4743bdad539c;p=thirdparty%2Fgettext.git po-mode: Enable highlighting of #, lines. * gettext-tools/emacs/po-mode.el (po-font-lock-keywords): Add rule for #, lines. --- diff --git a/gettext-tools/emacs/po-mode.el b/gettext-tools/emacs/po-mode.el index 326b3d739..b898a71db 100644 --- a/gettext-tools/emacs/po-mode.el +++ b/gettext-tools/emacs/po-mode.el @@ -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.")