+2013-06-21 Juanma Barranquero <lekktu@gmail.com>
+
+ * profiler.el (profiler-format-number): Use log, not log10.
+
2013-06-20 Juanma Barranquero <lekktu@gmail.com>
* term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
(defun profiler-format-number (number)
"Format NUMBER in human readable string."
(if (and (integerp number) (> number 0))
- (cl-loop with i = (% (1+ (floor (log10 number))) 3)
+ (cl-loop with i = (% (1+ (floor (log number 10))) 3)
for c in (append (number-to-string number) nil)
if (= i 0)
collect ?, into s