+2008-08-13 Sven Joachim <svenjoac@gmx.de>
+
+ * po-mode.el (po-check-file-header): Use forward-line with
+ negative argument instead of previous-line.
+ (po-add-attribute): Use forward-line instead of next-line.
+
2008-05-25 Bruno Haible <bruno@clisp.org>
* po-mode.el (po-replace-revision-date): Return nil.
(progn
;; There is at least one entry.
(goto-char (match-beginning 0))
- (previous-line 1)
+ (forward-line -1)
(setq end-of-header (match-end 0))
(if (looking-at "msgid \"\"\n")
;; There is indeed a PO file header.
;; This is an oldish header. Replace it all.
(goto-char end-of-header)
(while (> (point) (point-min))
- (previous-line 1)
+ (forward-line -1)
(insert "#~ ")
(beginning-of-line))
(beginning-of-line)
(insert ", " name)))
(skip-chars-forward "\n")
(while (eq (following-char) ?#)
- (next-line 1))
+ (forward-line 1))
(insert "#, " name "\n")))))
(defun po-delete-attribute (name)