+2010-05-08 Bruno Haible <bruno@clisp.org>
+
+ * po-mode.el (po-edit-string): Assign major mode text-mode to the
+ subedit buffer.
+ Reported by Kenichi Handa <handa@m17n.org>.
+
2010-03-28 Bruno Haible <bruno@clisp.org>
* gettexize.in: Warn about use of --intl option.
;;; po-mode.el -- major mode for GNU gettext PO files
-;; Copyright (C) 1995-1999, 2000-2002, 2005-2008 Free Software Foundation, Inc.
+;; Copyright (C) 1995-1999, 2000-2002, 2005-2008, 2010 Free Software Foundation, Inc.
;; Authors: François Pinard <pinard@iro.umontreal.ca>
;; Greg McGary <gkm@magilla.cichlid.com>
(setq slot (list marker edit-buffer overlay)
po-edited-fields (cons slot po-edited-fields))
(pop-to-buffer edit-buffer)
+ (text-mode)
(set (make-local-variable 'po-subedit-back-pointer) slot)
(set (make-local-variable 'indent-line-function)
'indent-relative)