aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/init.lua')
-rw-r--r--core/init.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/init.lua b/core/init.lua
index 4290c901..56b7519f 100644
--- a/core/init.lua
+++ b/core/init.lua
@@ -134,6 +134,14 @@ local view
-- The functions below are Lua C functions.
---
+-- Moves the buffer at index *from* to index *to*, shifting other buffers as necessary.
+-- @param from Index of the buffer to move.
+-- @param to Index to move the buffer to.
+-- @class function
+-- @name move_buffer
+local move_buffer
+
+---
-- Emits a `QUIT` event, and unless any handler returns `false`, quits Textadept.
-- @see events.QUIT
-- @class function