changeset 63786:acf9926186d5

(define-minor-mode): Don't automatically add a :require to the defcustom.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sun, 26 Jun 2005 18:21:26 +0000
parents 1220f6122b90
children a443cfa7c1df
files lisp/emacs-lisp/easy-mmode.el
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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.