mirror of
https://https.git.savannah.gnu.org/git/gettext.git
synced 2026-01-26 07:37:57 +00:00
Restore syntax highlighting in Emacs 30 or newer.
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.
This commit is contained in:
parent
dfa3f44ffa
commit
f0cf47359c
5
NEWS
5
NEWS
@ -1,3 +1,8 @@
|
||||
Version 0.26.1
|
||||
|
||||
# Emacs PO mode:
|
||||
Restore syntax highlighting in Emacs version 30 or newer.
|
||||
|
||||
Version 0.26 - July 2025
|
||||
|
||||
# Programming languages support:
|
||||
|
||||
@ -62,7 +62,7 @@
|
||||
|
||||
;;; Code:
|
||||
|
||||
(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.
|
||||
@ -1002,7 +1002,7 @@ all reachable through 'M-x customize', in group 'Emacs.Editing.I18n.Po'."
|
||||
|
||||
(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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user