;;; easy-mmode.el --- easy definition for major and minor modes
-;; Copyright (C) 1997,2000,01,02,03,2004 Free Software Foundation, Inc.
+;; Copyright (C) 1997, 2000, 2001, 2002, 2003, 2004, 2005
+;; Free Software Foundation, Inc.
;; Author: Georges Brun-Cottan <Georges.Brun-Cottan@inria.fr>
;; Maintainer: Stefan Monnier <monnier@gnu.org>
(unless group
;; We might as well provide a best-guess default group.
(setq group
- `(:group ',(or (custom-current-group)
- (intern (replace-regexp-in-string
+ `(:group (or (custom-current-group)
+ ',(intern (replace-regexp-in-string
"-mode\\'" "" mode-name))))))
`(progn
(unless group
;; We might as well provide a best-guess default group.
(setq group
- `(:group ',(or (custom-current-group)
- (intern (replace-regexp-in-string
+ `(:group (or (custom-current-group)
+ ',(intern (replace-regexp-in-string
"-mode\\'" "" (symbol-name mode)))))))
`(progn