(require 'slime) error message: "Autoloading failed to define define-minor-mode"
I needed this change on xemacs win32 native, because define-minor-mode is already fboundp: autoloaded.
(eval-and-compile (require 'cl) (require 'easy-mmode) ;(unless (fboundp 'define-minor-mode) (defalias 'define-minor-mode 'easy-mmode-define-minor-mode));)
(May be a FAQ) How to detect in elisp if the function is autoloaded?
I this is bogus I have to do (require 'easy-mmode) (defalias 'define-minor-mode 'easy-mmode-define-minor-mode) in my .emacs