aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/io_lib.erl
diff options
context:
space:
mode:
authorPierre Fenoll <[email protected]>2013-12-03 12:55:38 +0000
committerPierre Fenoll <[email protected]>2014-01-09 12:38:49 +0000
commitdfb4ec804a099b539c91e5643090d8183885e71c (patch)
treeadb553973587895787ead759ea6efa7fc413d1a1 /lib/stdlib/src/io_lib.erl
parent2f2824519d13e7745c02efbc7c29c37a76885fee (diff)
downloadotp-dfb4ec804a099b539c91e5643090d8183885e71c.tar.gz
otp-dfb4ec804a099b539c91e5643090d8183885e71c.tar.bz2
otp-dfb4ec804a099b539c91e5643090d8183885e71c.zip
Shell: expand 0-arity functions all the way to closing parenthesis
`erl` has tab completion for modules' exported functions but expands only up to the opening paren. This commit closes that opening paren in case the function is of arity zero and there is no other function with the same name. It browses the lists of matches (a 2nd time) for Arity, on complete match and then decides what to append.
Diffstat (limited to 'lib/stdlib/src/io_lib.erl')
0 files changed, 0 insertions, 0 deletions