mirror of
https://github.com/correl/melpa.git
synced 2024-11-22 19:18:39 +00:00
Fix byte compilation warning; use string-to-number instead of nonexistent parse-integer
This commit is contained in:
parent
9648e3df89
commit
db731db9d9
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@
|
|||
;; which break date-to-time
|
||||
(date-to-time (replace-regexp-in-string "/" "-" s))))))
|
||||
(concat (format-time-string "%Y%m%d." time)
|
||||
(format "%d" (or (parse-integer (format-time-string "%H%M" time)) 0)))))
|
||||
(format "%d" (or (string-to-number (format-time-string "%H%M" time)) 0)))))
|
||||
|
||||
(defun pb/string-match-all (regex str &optional group)
|
||||
"Find every match for `REGEX' within `STR', returning the full match string or group `GROUP'."
|
||||
|
|
Loading…
Reference in a new issue