Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/dok.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inline.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/inline.lua b/inline.lua
index d40bcae..c4d577b 100644
--- a/inline.lua
+++ b/inline.lua
@@ -437,7 +437,7 @@ function dok.help(symbol, asstring)
end
end
-help = dok.help
+rawset(_G, 'help', dok.help)
--------------------------------------------------------------------------------
-- browse() is a simpler function that simply triggers a browser
@@ -456,7 +456,7 @@ function dok.browse()
qtide = nil
end
-browse = dok.browse
+rawset(_G, 'browse', dok.browse)
--------------------------------------------------------------------------------
-- standard usage function: used to display automated help for functions