Lumail - The console email client

Lua primitives: add_selected_folder()

NOTE: Lumail-legacy has been superseded by Lumail 2.x, which has a wholly unified Lua API.

lumail allows you to select multiple folders to open at the same time.

The add_selected_folder() function allows you to add the currently selected folder to the list of selected folders.

For example:

-- Add the currently selected folder to the selected-set
-- open the union.
function open_folder()
   global_mode( "index" );
keymap['maildir']['O'] = 'open_folder()';


This function has been available since version 0.07.

See Also

See also clear_selected_folders, on_folder_selection, selected_folders, set_selected_folder, toggle_selected_folder.