Fix for byte-compile(#1)

* add declare-functions for XEmacs functions
* replace obsoleted functions
* check 'isearch-lax-whitespace' is bounded,
  because it is introduced at develop version.