Add hooks for the forthcoming emacs-w3m-xemacs21-mule port.
PR: 26130 Submitted by: MANTANI Nobutaka <nobutaka@nobutaka.com>