changeset 87438:3c99a3e95b64

(math-remove-percentsigns): Change placeholder for percent signs.
author Jay Belanger <jay.p.belanger@gmail.com>
date Thu, 27 Dec 2007 17:33:36 +0000
parents f18b45437f89
children 41b9b682db62
files lisp/calc/calc-aent.el
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calc/calc-aent.el	Thu Dec 27 17:32:59 2007 +0000
+++ b/lisp/calc/calc-aent.el	Thu Dec 27 17:33:36 2007 +0000
@@ -1020,11 +1020,9 @@
     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)