+2007-06-17 Bruno Haible <bruno@clisp.org>
+
+ * po-mode.el (po-add-attribute, po-delete-attribute, po-fuzzy-regexp):
+ Don't recognize the syntax "#! fuzzy" any more.
+
2007-06-17 Bruno Haible <bruno@clisp.org>
* po-mode.el (po-validate): Protect the buffer-file-name against
(save-excursion
(let ((buffer-read-only po-read-only))
(goto-char po-start-of-entry)
- (if (re-search-forward "\n#[,!] .*" po-start-of-msgid t)
+ (if (re-search-forward "\n#, .*" po-start-of-msgid t)
(save-restriction
(narrow-to-region (match-beginning 0) (match-end 0))
(goto-char (point-min))
(save-excursion
(let ((buffer-read-only po-read-only))
(goto-char po-start-of-entry)
- (if (re-search-forward "\n#[,!] .*" po-start-of-msgid t)
+ (if (re-search-forward "\n#, .*" po-start-of-msgid t)
(save-restriction
(narrow-to-region (match-beginning 0) (match-end 0))
(goto-char (point-min))
(if (re-search-forward
- (concat "\\(\n#[,!] " name "$\\|, " name "$\\| " name ",\\)")
+ (concat "\\(\n#, " name "$\\|, " name "$\\| " name ",\\)")
nil t)
(replace-match "" t t)))))))
\f
;; Fuzzy entries.
-(defvar po-fuzzy-regexp "^#[,!] .*fuzzy"
+(defvar po-fuzzy-regexp "^#, .*fuzzy"
"Regexp matching the string inserted by msgmerge for translations
which does not match exactly.")