replace the function genutils:emacs-major-mode with the variable
emacs-major-mode; remove the general-utils require.