> it appears your emacs doesnt have the elisp 'search' function search is part of the CL elisp compat package which is not standard in FSF Emacs. you need to load it first: (require 'cl)