aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/emacs/erlang-skels.el
diff options
context:
space:
mode:
authorJohan Claesson <[email protected]>2018-09-15 23:14:47 +0200
committerDan Gudmundsson <[email protected]>2018-10-09 11:57:01 +0200
commit02e3a9b162a1fe193c271cd0db7a99c326b63844 (patch)
treeba9b693e0a82a7c9c4a3ac42455b613f3bc4e3f1 /lib/tools/emacs/erlang-skels.el
parent8755c68695ee5c672a4105077ac2e5953939d528 (diff)
downloadotp-02e3a9b162a1fe193c271cd0db7a99c326b63844.tar.gz
otp-02e3a9b162a1fe193c271cd0db7a99c326b63844.tar.bz2
otp-02e3a9b162a1fe193c271cd0db7a99c326b63844.zip
Emacs: do not accept compiler warnings in selected elisp files
Diffstat (limited to 'lib/tools/emacs/erlang-skels.el')
-rw-r--r--lib/tools/emacs/erlang-skels.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tools/emacs/erlang-skels.el b/lib/tools/emacs/erlang-skels.el
index 534f50ab33..3ebc6e8e1e 100644
--- a/lib/tools/emacs/erlang-skels.el
+++ b/lib/tools/emacs/erlang-skels.el
@@ -1985,7 +1985,7 @@ configured off."
The first character of DD is space if the value is less than 10."
(let ((date (current-time-string)))
(format "%2d %s %s"
- (string-to-int (substring date 8 10))
+ (string-to-number (substring date 8 10))
(substring date 4 7)
(substring date -4))))