projects
/
chise
/
est.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a3b504
)
(www-format-props-to-string): When `:len' is specified,
author
MORIOKA Tomohiko
<tomo@kanji.zinbun.kyoto-u.ac.jp>
Sun, 4 Apr 2010 18:58:58 +0000
(
03:58
+0900)
committer
MORIOKA Tomohiko
<tomo@kanji.zinbun.kyoto-u.ac.jp>
Sun, 4 Apr 2010 18:58:58 +0000
(
03:58
+0900)
treat `:zero-padding' is specified.
cwiki-common.el
patch
|
blob
|
history
diff --git
a/cwiki-common.el
b/cwiki-common.el
index
3b2d80c
..
a03be66
100644
(file)
--- a/
cwiki-common.el
+++ b/
cwiki-common.el
@@
-689,10
+689,10
@@
(setq format (plist-get props :format)))
(concat "%"
(plist-get props :flag)
- (if (plist-get props :zero-padding)
- "0")
+ ;; (if (plist-get props :zero-padding)
+ ;; "0")
(if (plist-get props :len)
- (format "%d" (plist-get props :len)))
+ (format "0%d" (plist-get props :len)))
(cond
((eq format 'decimal) "d")
((eq format 'hex) "x")