Function: iso-translate-conventions

iso-translate-conventions is a byte-compiled function defined in iso-cvt.el.gz.

Signature

(iso-translate-conventions FROM TO TRANS-TAB)

Documentation

Translate between FROM and TO using the translation table TRANS-TAB.

Source Code

;; Defined in /usr/src/emacs/lisp/international/iso-cvt.el.gz
(defun iso-translate-conventions (from to trans-tab)
  "Translate between FROM and TO using the translation table TRANS-TAB."
  (save-excursion
    (save-restriction
      (narrow-to-region from to)
      (goto-char from)
      (let ((work-tab trans-tab)
	    (buffer-read-only nil)
	    (case-fold-search nil))
	(while work-tab
	  (save-excursion
	    (let ((trans-this (car work-tab)))
	      (while (re-search-forward (car trans-this) nil t)
		(replace-match (car (cdr trans-this)) t nil)))
	    (setq work-tab (cdr work-tab)))))
      (point-max))))