Function: math-restore-dashes

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

Signature

(math-restore-dashes X)

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calc-aent.el.gz
(defun math-restore-dashes (x)
  (if (string-match "\\`\\(.*\\)[#_]\\(.*\\)\\'" x)
      (math-restore-dashes
       (concat (math-match-substring x 1) "-" (math-match-substring x 2)))
    x))