Function: reftex-index-phrases-replace-space

reftex-index-phrases-replace-space is a byte-compiled function defined in reftex-index.el.gz.

Signature

(reftex-index-phrases-replace-space POS)

Documentation

If there is a space at POS, replace it with a newline char.

Does not do a save-excursion.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/reftex-index.el.gz
(defun reftex-index-phrases-replace-space (pos)
  "If there is a space at POS, replace it with a newline char.
Does not do a `save-excursion'."
  (when (equal (char-after pos) ?\ )
    (goto-char pos)
    (delete-char 1)
    (insert "\n")))