aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/session.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2020-08-04 17:16:09 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2020-08-04 17:16:09 -0400
commita09459af7789d3c8aa781586478917cbb3ef99ae (patch)
tree88bc34d0e251067156b9239d6e77322b95ec557d /modules/textadept/session.lua
parent92a1870592a442a4a913c30b10e2cf722f25afa7 (diff)
downloadtextadept-a09459af7789d3c8aa781586478917cbb3ef99ae.tar.gz
textadept-a09459af7789d3c8aa781586478917cbb3ef99ae.zip
Updated LuaDoc.
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)