changeset 95150:7986c1ee0292

Require eshell, for eshell-defgroup. Use eshell-defgroup rather than defgroup. Autoload the custom group. Set generated-autoload-file.
author Glenn Morris <rgm@gnu.org>
date Wed, 21 May 2008 03:50:25 +0000
parents 1b1b163d3028
children f45f20b8625d
files lisp/eshell/em-basic.el
diffstat 1 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/eshell/em-basic.el	Wed May 21 03:49:48 2008 +0000
+++ b/lisp/eshell/em-basic.el	Wed May 21 03:50:25 2008 +0000
@@ -1,7 +1,7 @@
 ;;; em-basic.el --- basic shell builtin commands
 
-;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004,
-;;   2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
+;;   2008  Free Software Foundation, Inc.
 
 ;; Author: John Wiegley <johnw@gnu.org>
 
@@ -63,9 +63,11 @@
 (eval-when-compile
   (require 'esh-util))
 
+(require 'eshell)
 (require 'esh-opt)
 
-(defgroup eshell-basic nil
+;;;###autoload
+(eshell-defgroup eshell-basic nil
   "The \"basic\" code provides a set of convenience functions which
 are traditionally considered shell builtins.  Since all of the
 functionality provided by them is accessible through Lisp, they are
@@ -178,5 +180,9 @@
 
 (provide 'em-basic)
 
+;; Local Variables:
+;; generated-autoload-file: "esh-groups.el"
+;; End:
+
 ;; arch-tag: 385a31b1-cb95-46f0-9829-9d352ee77db8
 ;;; em-basic.el ends here