Next: Change HTML source, Previous: URL retrieve, Up: Hooks [Contents][Index]
The functions in the hook ‘wwe-url-callback-functions’ take care of the received page instead of rendering HTML with ‘wwe-render’. The default functions set for this hook are ‘wwe-doc-view’ and ‘wwe-content-type’.
Examples of functions for this hook:
The functions should take the following arguments, note that the current buffer is the ‘url-retrieve’ process buffer:
t
or a file name/path, the page is to be saved without displaying; if 'wait
, the page isn’t to be saved (no file prompt comes) until a hook in ‘wwe-url-callback-functions’ changes the value of SAVE
nil
).
nil
).
If a function takes care of things, it should return t
- any function
that doesn’t deal with the page should return nil, since the hooks are
run with ‘run-hook-with-args-until-success’.
Next: Change HTML source, Previous: URL retrieve, Up: Hooks [Contents][Index]