Skip to content

Commit 20bea2d

Browse files
authored
Merge pull request #11507 from kagetora66/patch-2
fix deprecated format_status/2 OTP-20339
2 parents ec88c79 + 007c103 commit 20bea2d

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)