[slime-devel] define-minor-mode autoload problem

Reini Urban rurban at x-ray.at
Wed Sep 15 12:20:07 UTC 2004


(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
-- 
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/





More information about the slime-devel mailing list