Mercurial > emacs
diff lisp/eshell/em-banner.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 | a9dc0e7c3f2b |
line wrap: on
line diff
--- a/lisp/eshell/em-banner.el Wed May 21 03:50:42 2008 +0000 +++ b/lisp/eshell/em-banner.el Wed May 21 03:51:08 2008 +0000 @@ -1,7 +1,7 @@ ;;; em-banner.el --- sample module that displays a login banner -;; 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> @@ -46,7 +46,8 @@ (require 'esh-util) -(defgroup eshell-banner nil +;;;###autoload +(eshell-defgroup eshell-banner nil "This sample module displays a welcome banner at login. It exists so that others wishing to create their own Eshell extension modules may have a simple template to begin with." @@ -91,5 +92,9 @@ (provide 'em-banner) +;; Local Variables: +;; generated-autoload-file: "esh-groups.el" +;; End: + ;; arch-tag: e738b4ef-8671-42ae-a757-291779b92491 ;;; em-banner.el ends here