We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pop_preexecute_hook
1 parent 53c2a33 commit 5e1d8c1Copy full SHA for 5e1d8c1
src/Weave.jl
@@ -191,7 +191,7 @@ end
191
#but note that Weave hooks take the chunk as input
192
const preexecute_hooks = Function[]
193
push_preexecute_hook(f::Function) = push!(preexecute_hooks, f)
194
-pop_preexecute_hook(f::Function) = splice!(preexecute_hooks, findfirst(pretexecute_hooks, f))
+pop_preexecute_hook(f::Function) = splice!(preexecute_hooks, findfirst(preexecute_hooks, f))
195
196
const postexecute_hooks = Function[]
197
push_postexecute_hook(f::Function) = push!(postexecute_hooks, f)
0 commit comments