Commit 6ed24d2e authored by Jason Rumney's avatar Jason Rumney

(tsang-quick-converter): Fix broken line-ends from CVS before doing conversion.

parent a2fcf029
2003-09-02 Jason Rumney <jasonr@gnu.org>
* international/titdic-cnv.el (tsang-quick-converter): Fix broken
line-ends from CVS before doing conversion.
2003-09-02 Glenn Morris <gmorris@ast.cam.ac.uk>
* calendar/diary-lib.el (diary-header-line-flag)
......
......@@ -768,6 +768,11 @@ To get complete usage, invoke \"emacs -batch -f batch-titdic-convert -h\"."
(insert "(quail-define-rules\n")
(save-excursion
(set-buffer dicbuf)
;; Handle double CR line ends, which result when checking out of
;; CVS on MS-Windows.
(goto-char (point-min))
(while (re-search-forward "\r\r$" nil t)
(replace-match ""))
(goto-char (point-min))
(search-forward "A440")
(beginning-of-line)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment