From 1177ef981b04a0c368ab4cbad5e0f6bfdd252cb6 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Mon, 29 Mar 2010 19:04:32 -0400 Subject: Use textadept.user_dofile() for user init.lua. --- core/.textadept.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/.textadept.lua') diff --git a/core/.textadept.lua b/core/.textadept.lua index ec6d9622..5fe9776d 100644 --- a/core/.textadept.lua +++ b/core/.textadept.lua @@ -131,5 +131,7 @@ function dialog(kind, ...) end --- -- Calls 'dofile' on the given filename in the user's Textadept directory. -- This is typically used for loading user files like key commands or snippets. +-- Errors are printed to the Textadept message buffer. -- @param filename The name of the file (not path). +-- @return true if successful; false otherwise. function user_dofile(filename) end -- cgit v1.2.3