Function: texinfo-sort-region

texinfo-sort-region is a byte-compiled function defined in texinfmt.el.gz.

Signature

(texinfo-sort-region START END)

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/texinfmt.el.gz
;;; Sort and index

;; Sort an index which is in the current buffer between START and END.
(defun texinfo-sort-region (start end)
  (require 'sort)
  (save-restriction
    (narrow-to-region start end)
    (goto-char (point-min))
    (sort-subr nil 'forward-line 'end-of-line 'texinfo-sort-startkeyfun)))