diff lisp/eshell/em-ls.el @ 95152:ad5d26b1d5d1

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:51:08 +0000
parents b5b0801a7637
children 45dbb3c749a6
line wrap: on
line diff
--- a/lisp/eshell/em-ls.el	Wed May 21 03:50:42 2008 +0000
+++ b/lisp/eshell/em-ls.el	Wed May 21 03:51:08 2008 +0000
@@ -1,7 +1,7 @@
 ;;; em-ls.el --- implementation of ls in Lisp
 
-;; 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>
 
@@ -31,7 +31,8 @@
 (require 'esh-util)
 (require 'esh-opt)
 
-(defgroup eshell-ls nil
+;;;###autoload
+(eshell-defgroup eshell-ls nil
   "This module implements the \"ls\" utility fully in Lisp.  If it is
 passed any unrecognized command switches, it will revert to the
 operating system's version.  This version of \"ls\" uses text
@@ -921,5 +922,9 @@
 
 (provide 'em-ls)
 
+;; Local Variables:
+;; generated-autoload-file: "esh-groups.el"
+;; End:
+
 ;; arch-tag: 9295181c-0cb2-499c-999b-89f5359842cb
 ;;; em-ls.el ends here