Function: Texinfo-nodename-de-escape

Texinfo-nodename-de-escape is a byte-compiled function defined in tex-info.el.

Signature

(Texinfo-nodename-de-escape NODE-NAME)

Documentation

In NODE-NAME, convert @comma{} commands to the corresponding , character. Return the resulting string.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex-info.el
(defun Texinfo-nodename-de-escape (node-name)
  "In NODE-NAME, convert `@comma{}' commands to the corresponding `,'
character.  Return the resulting string."
  (let ((pos 0) (map '(("comma" . ","))))
    (while (and (< pos (length
                        node-name))
                (string-match "@\\(comma\\)[[:blank:]]*{}" node-name pos))
      (setq node-name (concat  (substring node-name 0 (match-beginning 0))
                               (cdr (assoc-string (match-string 1 node-name) map))
                               (substring node-name (match-end 0)))
            pos (1+ (match-beginning 0)))))
  node-name)