(www-format-props-to-string): When `:len' is specified,
[chise/est.git] / cwiki-common.el
index 3b2d80c..a03be66 100644 (file)
     (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")