aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/session.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/textadept/session.lua')
-rw-r--r--modules/textadept/session.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/textadept/session.lua b/modules/textadept/session.lua
index b209b4eb..61bd2376 100644
--- a/modules/textadept/session.lua
+++ b/modules/textadept/session.lua
@@ -139,6 +139,8 @@ end
-- Saves the session to file *filename* or the user-selected file.
-- Saves split views, opened buffers, cursor information, recent files, and
-- bookmarks.
+-- Upon quitting, the current session is saved to *filename* again, unless
+-- `textadept.session.save_on_quit` is `false`.
-- @param filename Optional absolute path to the session file to save. If `nil`,
-- the user is prompted for one.
-- @usage textadept.session.save(filename)