aboutsummaryrefslogtreecommitdiff
path: root/files.lua
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-06-24 16:11:08 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-06-24 16:11:40 -0700
commitad342b63b7b6f07f9c8dc44fc09f7d478b7bb1e0 (patch)
treea3a7748e24fa493250c808edb6a1bf9b1f5d4127 /files.lua
parent65addb9aa6c5e44048f01d73429090f5ed9dd799 (diff)
Simplifications/streamlining the Make process, and cleaning up some of
how command line interaction and `use %` work.
Diffstat (limited to 'files.lua')
-rw-r--r--files.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/files.lua b/files.lua
index 9265056..130a880 100644
--- a/files.lua
+++ b/files.lua
@@ -60,7 +60,7 @@ if ok then
end
elseif file_type == 'directory' then
for subfile in lfs.dir(filename) do
- if not (subfile == "." or subfile == "..") then
+ if not (subfile == "." or subfile == ".." or not subfile:match("%.nom$")) then
browse(filename .. "/" .. subfile)
end
end