aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib
diff options
context:
space:
mode:
authorBruce Yinhe <[email protected]>2014-10-06 14:54:33 +0200
committerBruce Yinhe <[email protected]>2014-10-06 14:54:33 +0200
commit610c746c0795ec9a96f960ea6461ef56d6d2ee24 (patch)
tree34a02f0e9d607368344a328a2506688e68679658 /lib/stdlib
parentac3afd00be9a84a6c30c408256c9c41319c61d8d (diff)
parenta675467f2bba5c4e7fe643a46d3a48a3cf0b020a (diff)
downloadotp-610c746c0795ec9a96f960ea6461ef56d6d2ee24.tar.gz
otp-610c746c0795ec9a96f960ea6461ef56d6d2ee24.tar.bz2
otp-610c746c0795ec9a96f960ea6461ef56d6d2ee24.zip
Merge branch 'maint'
Diffstat (limited to 'lib/stdlib')
-rw-r--r--lib/stdlib/src/edlin.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/edlin.erl b/lib/stdlib/src/edlin.erl
index be9a4f5107..b3bc5f6d92 100644
--- a/lib/stdlib/src/edlin.erl
+++ b/lib/stdlib/src/edlin.erl
@@ -390,7 +390,7 @@ do_op(end_of_line, Bef, [C|Aft], Rs) ->
do_op(end_of_line, Bef, [], Rs) ->
{{Bef,[]},Rs};
do_op(ctlu, Bef, Aft, Rs) ->
- put(kill_buffer, Bef),
+ put(kill_buffer, reverse(Bef)),
{{[], Aft}, [{delete_chars, -length(Bef)} | Rs]};
do_op(beep, Bef, Aft, Rs) ->
{{Bef,Aft},[beep|Rs]};