aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/emacs/erlang_appwiz.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_appwiz.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_appwiz.el')
-rw-r--r--lib/tools/emacs/erlang_appwiz.el13
1 files changed, 5 insertions, 8 deletions
diff --git a/lib/tools/emacs/erlang_appwiz.el b/lib/tools/emacs/erlang_appwiz.el
index ecbce66f47..b71c180739 100644
--- a/lib/tools/emacs/erlang_appwiz.el
+++ b/lib/tools/emacs/erlang_appwiz.el
@@ -103,6 +103,10 @@
;;
;;
+(defvar appwiz-erlang-modulename "foo")
+(defvar appwiz-erlang-ext "_work")
+
+
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; Erlang application wizard
@@ -245,13 +249,6 @@ creating the root directory and for naming application files."
(insert "Application specification file for " name ".")
(save-buffer)))
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;;
-;; These are setq:ed
-;;
-
-(defvar appwiz-erlang-modulename "foo")
-(defvar appwiz-erlang-ext "_work")
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
@@ -468,7 +465,7 @@ Call the function `erlang-menu-init' after modifying this variable.")
The first character of DD is *not* space if the value is less than 10."
(let ((date (current-time-string)))
(format "%d %s %s"
- (string-to-int (substring date 8 10))
+ (string-to-number (substring date 8 10))
(substring date 4 7)
(substring date -4))))