(insert-char-data): Don't use `tabify'.
authortomo <tomo>
Tue, 25 Feb 2003 06:42:06 +0000 (06:42 +0000)
committertomo <tomo>
Tue, 25 Feb 2003 06:42:06 +0000 (06:42 +0000)
lisp/utf-2000/char-db-util.el

index c870da8..4d4b40f 100644 (file)
     (goto-char (point-min))
     (while (re-search-forward "[ \t]+$" nil t)
       (replace-match ""))
+    ;; from tabify.
+    (goto-char (point-min))
+    (while (re-search-forward "[ \t][ \t][ \t]*" nil t)
+      (let ((column (current-column))
+           (indent-tabs-mode t))
+       (delete-region (match-beginning 0) (point))
+       (indent-to column)))
     (goto-char (point-max))
-    (tabify (point-min)(point-max))
+    ;; (tabify (point-min)(point-max))
     ))
 
 (defun insert-char-data-with-variant (char &optional printable