Function: robin-convert-region

robin-convert-region is an interactive and byte-compiled function defined in robin.el.gz.

Signature

(robin-convert-region BEGIN END &optional NAME)

Documentation

Convert the region using a robin package.

NAME, if given, is a string specifying a robin package. If NAME is not given or nil, the value of robin-current-package-name is used.

Key Bindings

Aliases

robin-transliterate-region (obsolete since 29.1)

Source Code

;; Defined in /usr/src/emacs/lisp/international/robin.el.gz
(defun robin-convert-region (begin end &optional name)
  "Convert the region using a robin package.
NAME, if given, is a string specifying a robin package.  If NAME
is not given or nil, the value of `robin-current-package-name' is
used."

  (interactive "*r")
  (or name
      (setq name robin-current-package-name)
      (error "No robin package specified"))

  (let ((tree (assoc name robin-package-alist)))
    (unless tree
      (error "No such robin package"))

    (save-excursion
      (save-restriction
	(narrow-to-region begin end)
	(goto-char (point-min))
	(while (not (eobp))
	  (robin-convert-region-internal tree))))))