Function: math-remove-dashes

math-remove-dashes is an autoloaded and byte-compiled function defined in calc-aent.el.gz.

Signature

(math-remove-dashes X)

Source Code

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