Lua primitives: delete()
This function will delete the currently selected message. You may also call this function with a path, which will delete the message specified instead.
-- -- Delete the message via "D". -- keymap['index']['D'] = 'delete()' keymap['message']['D'] = 'delete()'
See also the trash() example.
This function has been available since version 0.07.