]> git.eshelyaron.com Git - emacs.git/commitdiff
(math-remove-percentsigns): Change placeholder for percent signs.
authorJay Belanger <jay.p.belanger@gmail.com>
Thu, 27 Dec 2007 17:35:59 +0000 (17:35 +0000)
committerJay Belanger <jay.p.belanger@gmail.com>
Thu, 27 Dec 2007 17:35:59 +0000 (17:35 +0000)
lisp/ChangeLog
lisp/calc/calc-aent.el

index 8c39318b324ebb70ab9b12fbc0a40124fb4f27ed..45adb3668b2624a54e8968751fc4d09e3625f49b 100644 (file)
@@ -1,3 +1,9 @@
+2007-12-27  Jay Belanger  <jay.p.belanger@gmail.com>
+
+       * calc/calc-aent.el (math-remove-percentsigns):
+       * calc/calccomp.el (math-to-percentsigns): Change placeholder
+       for percent signs.
+
 2007-12-27  Eric S. Raymond  <esr@snark.thyrsus.com>
 
        * vc.el (vc-dired-ignorable-p, vc-dired-hook): Speed optimization;
index 712acfa68672a0cd0b1a7def2a89c1ae6fcd41ea..5b93a544397c85a2244ed1aa4a67d9441f9f4af7 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)