branch: externals/po-mode
commit 7f71f6d5ba8c0c812eb3ede5838d28f7027cda9a
Author: Takesi Ayanokoji <[email protected]>
Commit: Bruno Haible <[email protected]>
po-mode: Enable highlighting of #, lines.
* gettext-tools/emacs/po-mode.el (po-font-lock-keywords): Add rule for #,
lines.
---
po-mode.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/po-mode.el b/po-mode.el
index 326b3d739d..b898a71dbc 100644
--- a/po-mode.el
+++ b/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.")