aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/keys.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2013-04-24 09:32:10 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2013-04-24 09:32:10 -0400
commit3f3c9838290e9d3df43d94ab389646985aa4613d (patch)
treeb4ccaf9258676b0c09e3c8efb8898191673fb4ee /modules/textadept/keys.lua
parent9e97b8fa01638740f1ab2880a6a72bd1275c6fd6 (diff)
downloadtextadept-3f3c9838290e9d3df43d94ab389646985aa4613d.tar.gz
textadept-3f3c9838290e9d3df43d94ab389646985aa4613d.zip
Renamed `_G.buffer_new()` to `buffer.new()`.
Diffstat (limited to 'modules/textadept/keys.lua')
-rw-r--r--modules/textadept/keys.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua
index 30076eaf..b2633783 100644
--- a/modules/textadept/keys.lua
+++ b/modules/textadept/keys.lua
@@ -364,7 +364,7 @@ local utils = M.utils
-- Control, Meta, and 'a' = 'cma'
-- File.
-keys[not OSX and (not CURSES and 'cn' or 'cmn') or 'mn'] = new_buffer
+keys[not OSX and (not CURSES and 'cn' or 'cmn') or 'mn'] = buffer.new
keys[not OSX and 'co' or 'mo'] = io.open_file
keys[not OSX and not CURSES and 'cao' or 'cmo'] = io.open_recent_file
keys[not OSX and (not CURSES and 'cO' or 'mo') or 'mO'] = buffer.reload