HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9580f1f
)
(math-to-percentsigns): Change placeholder for percent signs.
author
Jay Belanger
<jay.p.belanger@gmail.com>
Thu, 27 Dec 2007 17:32:59 +0000
(17:32 +0000)
committer
Jay Belanger
<jay.p.belanger@gmail.com>
Thu, 27 Dec 2007 17:32:59 +0000
(17:32 +0000)
lisp/calc/calccomp.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/calc/calccomp.el
b/lisp/calc/calccomp.el
index
0f913ea
..
2b81363
100644
(file)
--- a/
lisp/calc/calccomp.el
+++ b/
lisp/calc/calccomp.el
@@
-945,10
+945,8
@@
x))
(defun math-to-percentsigns (x)
- (if (string-match "^I#'" x)
- (setq x (concat "%" (substring x 3))))
- (if (string-match "\\`\\(.*\\)'\\(.*\\)\\'" x)
- (math-to-percentsigns
+ (if (string-match "\\`\\(.*\\)o'o\\(.*\\)\\'" x)
+ (math-to-underscores
(concat (math-match-substring x 1) "%" (math-match-substring x 2)))
x))