]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
po-mode: Add po-subedit-mode-hook.
authorgemmaro <gemmaro.dev@gmail.com>
Thu, 1 Jan 2026 13:47:52 +0000 (22:47 +0900)
committerBruno Haible <bruno@clisp.org>
Fri, 2 Jan 2026 01:47:35 +0000 (02:47 +0100)
Reported by <KAction@gnu.org> at
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890295>.

* gettext-tools/emacs/po-mode.el (po-subedit-mode-hook): Add the
customize variable.

gettext-tools/emacs/po-mode.el

index e4dec9c6728b2fd0882981c59cc5dd9d23bd7fa9..71377f631bc3e3c3652336f1d43865309528e49d 100644 (file)
@@ -478,6 +478,11 @@ or remove the -m if you are not using the GNU version of 'uuencode'."
   :type 'string
   :group 'po)
 
+(defcustom po-subedit-mode-hook nil
+  "Hook run when entering PO subedit mode."
+  :type 'hook
+  :group 'po)
+
 \f
 ;;; Emacs portability matters - part II.