(math-remove-percentsigns): Change placeholder for percent signs.
[bpt/emacs.git] / lisp / calc / calc-aent.el
index 712acfa..5b93a54 100644 (file)
@@ -1020,11 +1020,9 @@ in Calc algebraic input.")
     x))
 
 (defun math-remove-percentsigns (x)
-  (if (string-match "^%" x)
-      (setq x (concat "I#'" (substring x 1))))
   (if (string-match "\\`\\(.*\\)%\\(.*\\)\\'" x)
       (math-remove-percentsigns
-       (concat (math-match-substring x 1) "'" (math-match-substring x 2)))
+       (concat (math-match-substring x 1) "o'o" (math-match-substring x 2)))
     x))
 
 (defun math-restore-dashes (x)