aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2014-11-12 17:29:57 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2014-11-12 17:29:57 -0500
commitfcd60e26dec14abd3b9f65f9f8d2b95eba6db104 (patch)
tree3d344dcfcee1aba8ce6719178f5f597560a83d0c /modules/textadept
parentf4cc2ff3bdac044f30bc08cdd3ca283db825b4b8 (diff)
downloadtextadept-fcd60e26dec14abd3b9f65f9f8d2b95eba6db104.tar.gz
textadept-fcd60e26dec14abd3b9f65f9f8d2b95eba6db104.zip
Code and documentation cleanup.
Diffstat (limited to 'modules/textadept')
-rw-r--r--modules/textadept/command_entry.lua2
-rw-r--r--modules/textadept/find.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/textadept/command_entry.lua b/modules/textadept/command_entry.lua
index 6ad48981..b4f63458 100644
--- a/modules/textadept/command_entry.lua
+++ b/modules/textadept/command_entry.lua
@@ -186,7 +186,7 @@ end)
--[[ The function below is a Lua C function.
---
--- Opens the Lua command entry.
+-- Opens the command entry.
-- @class function
-- @name focus
local focus
diff --git a/modules/textadept/find.lua b/modules/textadept/find.lua
index 8aacfcb3..738a4c81 100644
--- a/modules/textadept/find.lua
+++ b/modules/textadept/find.lua
@@ -226,7 +226,7 @@ function M.find_in_files(dir)
dir = dir or ui.dialogs.fileselect{
title = _L['Find in Files'], select_only_directories = true,
with_directory = (buffer.filename or ''):match('^.+[/\\]') or
- lfs.currentdir()..'/'
+ lfs.currentdir()
}
if not dir then return end