# HG changeset patch # User Stefan Monnier # Date 1119810086 0 # Node ID acf9926186d5c796cbdc144c7273a7b8a08b6424 # Parent 1220f6122b9023de25acbfc6c584c15ec255ff20 (define-minor-mode): Don't automatically add a :require to the defcustom. diff -r 1220f6122b90 -r acf9926186d5 lisp/emacs-lisp/easy-mmode.el --- a/lisp/emacs-lisp/easy-mmode.el Sun Jun 26 18:18:04 2005 +0000 +++ b/lisp/emacs-lisp/easy-mmode.el Sun Jun 26 18:21:26 2005 +0000 @@ -201,10 +201,7 @@ :type 'boolean ,@(cond ((not (and curfile require)) nil) - ((not (eq require t)) `(:require ,require)) - (t `(:require - ',(intern (file-name-nondirectory - (file-name-sans-extension curfile)))))) + ((not (eq require t)) `(:require ,require))) ,@(nreverse extra-keywords)))) ;; The actual function.