Skip to content

Commit 007c103

Browse files
authored
fix deprecated format_status/2
Replaced with format_status/1 according to https://www.erlang.org/doc/apps/stdlib/gen_server.html#c:format_status/1
1 parent 57b91b0 commit 007c103

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

lib/tools/emacs/erlang-skels.el

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -553,9 +553,8 @@ Please see the function `tempo-define-template'.")
553553
"%% of gen_server status when it is returned from sys:get_status/1,2" n
554554
"%% or when it appears in termination error logs." n
555555
(erlang-skel-separator-end 2)
556-
"-spec format_status(Opt :: normal | terminate," n>
557-
"Status :: list()) -> Status :: term()." n
558-
"format_status(_Opt, Status) ->" n>
556+
"-spec format_status(Status :: format_status()) -> NewStatus :: format_status()." n>
557+
"format_status(Status) ->" n>
559558
"Status." n
560559
n
561560
(erlang-skel-double-separator-start 3)

0 commit comments

Comments
 (0)