(tsang-quick-converter): Fix broken line-ends from CVS before doing conversion.
This commit is contained in:
parent
a2fcf0296f
commit
6ed24d2e35
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue