Function: indian-compose-region
indian-compose-region is an autoloaded, interactive and byte-compiled
function defined in ind-util.el.gz.
Signature
(indian-compose-region FROM TO)
Documentation
Compose the region according to composition-function-table.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/language/ind-util.el.gz
;;;###autoload
(defun indian-compose-region (from to)
"Compose the region according to `composition-function-table'."
(interactive "r")
(save-excursion
(save-restriction
(let ((pos from) newpos func (max to))
(narrow-to-region from to)
(while (< pos max)
;; FIXME: The below seems to assume
;; composition-function-table holds functions? That is no
;; longer true, since long ago.
(setq func (aref composition-function-table (char-after pos)))
(if (fboundp func)
(setq newpos (funcall func pos nil)
pos (if (and (integerp newpos) (> newpos pos))
newpos (1+ pos)))
(setq pos (1+ pos))))))))