Function: math-string-restore-underscores

math-string-restore-underscores is a byte-compiled function defined in calc-aent.el.gz.

Signature

(math-string-restore-underscores X)

Documentation

Replace pound signs by underscores in the string x.

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calc-aent.el.gz
(defun math-string-restore-underscores (x)
  "Replace pound signs by underscores in the string x."
  (if (string-match "\\`\\(.*\\)#\\(.*\\)\\'" x)
      (math-string-restore-underscores
       (concat (math-match-substring x 1) "_" (math-match-substring x 2)))
    x))