summaryrefslogtreecommitdiff
path: root/lib/tools/test
diff options
context:
space:
mode:
authorLeo Liu <sdl.web@gmail.com>2021-02-25 22:37:11 +0800
committerLeo Liu <sdl.web@gmail.com>2021-02-25 22:38:08 +0800
commit62b89d5202b3b520cfdfb79f7b7bf7039a02b386 (patch)
treeb2bf778b292d1b3e29dd3200a431cf0f99df30e3 /lib/tools/test
parent1084da14ebb07b93366f1c0c282898fe45262b8a (diff)
downloaderlang-62b89d5202b3b520cfdfb79f7b7bf7039a02b386.tar.gz
Address failed tests in emacs_SUITE
Diffstat (limited to 'lib/tools/test')
-rw-r--r--lib/tools/test/emacs_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tools/test/emacs_SUITE.erl b/lib/tools/test/emacs_SUITE.erl
index e5587b35b1..f74a159cd2 100644
--- a/lib/tools/test/emacs_SUITE.erl
+++ b/lib/tools/test/emacs_SUITE.erl
@@ -107,7 +107,7 @@ compile_and_load(_Config) ->
%% Workaround byte-compile-error-on-warn which seem broken in
%% Emacs 25.
"\"(advice-add #'display-warning :after "
- "(lambda (_ f _ _) (error \"%s\" f)))\"";
+ "(lambda (_ f &optional _ _) (error \\\"%s\\\" f)))\"";
_ ->
"\"(setq byte-compile-error-on-warn t)\""
end,