Reported by Sab Pyrope <sab.pyrope@gmail.com> in
<https://lists.gnu.org/archive/html/bug-gettext/2025-03/msg00017.html>
and by Julien Palard <julien@palard.fr> in
<https://lists.gnu.org/archive/html/bug-gettext/2025-10/msg00000.html>.
It's a regression in Emacs 30, in commit
17e26cf57e18c5df2172a7049591d89fc53b3fb6 .
* gettext-tools/emacs/po-mode.el (po-mode-version-string): Bump to 2.31.
(po-mode): Invoke run-mode-hooks instead of run-hooks.
* NEWS: Mention the fix.
+Version 0.25.2
+
+* Emacs PO mode:
+ Restore syntax highlighting in Emacs version 30 or newer.
+
Version 0.25.1 - July 2025
* Bug fixes:
;;; Code:
\f
-(defconst po-mode-version-string "2.30" "\
+(defconst po-mode-version-string "2.31" "\
Version number of this version of po-mode.el.")
;;; Emacs portability matters - part I.
(add-hook 'write-contents-functions 'po-replace-revision-date)
- (run-hooks 'po-mode-hook)
+ (run-mode-hooks 'po-mode-hook)
(message (_"You may type 'h' or '?' for a short PO mode reminder.")))
(defvar po-subedit-mode-map