aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/emacs/erlang-skels.el
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2018-10-11 14:33:40 +0200
committerDan Gudmundsson <[email protected]>2018-10-11 14:33:40 +0200
commita8495c5af68d5abdb3a49280b63985527e42be98 (patch)
tree7434ce9e02a85a6be8c0f13d91a930e9b6e1cf93 /lib/tools/emacs/erlang-skels.el
parent72f13b54829879f05fae656494067ce92455b856 (diff)
parentb7a6a4ba1c1d91146af44f9d83cb53486a852c9c (diff)
downloadotp-a8495c5af68d5abdb3a49280b63985527e42be98.tar.gz
otp-a8495c5af68d5abdb3a49280b63985527e42be98.tar.bz2
otp-a8495c5af68d5abdb3a49280b63985527e42be98.zip
Merge branch 'pr/1949' into maint
* pr/1949: Run emacs tests from test_suite Emacs: consider case in erlang-get-identifier-at-point Emacs: do not accept compiler warnings in selected elisp files Emacs: add test-erlang-mode
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))))