comparison lisp/eshell/em-pred.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
comparison
equal deleted inserted replaced
95151:f45f20b8625d 95152:ad5d26b1d5d1
1 ;;; em-pred.el --- argument predicates and modifiers (ala zsh) 1 ;;; em-pred.el --- argument predicates and modifiers (ala zsh)
2 2
3 ;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 3 ;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
4 ;; 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 4 ;; 2008 Free Software Foundation, Inc.
5 5
6 ;; Author: John Wiegley <johnw@gnu.org> 6 ;; Author: John Wiegley <johnw@gnu.org>
7 7
8 ;; This file is part of GNU Emacs. 8 ;; This file is part of GNU Emacs.
9 9
47 47
48 ;;; Code: 48 ;;; Code:
49 49
50 (eval-when-compile (require 'eshell)) 50 (eval-when-compile (require 'eshell))
51 51
52 (defgroup eshell-pred nil 52 ;;;###autoload
53 (eshell-defgroup eshell-pred nil
53 "This module allows for predicates to be applied to globbing 54 "This module allows for predicates to be applied to globbing
54 patterns (similar to zsh), in addition to string modifiers which can 55 patterns (similar to zsh), in addition to string modifiers which can
55 be applied either to globbing results, variable references, or just 56 be applied either to globbing results, variable references, or just
56 ordinary strings." 57 ordinary strings."
57 :tag "Value modifiers and predicates" 58 :tag "Value modifiers and predicates"
598 (lambda (str) 599 (lambda (str)
599 (split-string str ,sep))) lst)))) 600 (split-string str ,sep))) lst))))
600 601
601 (provide 'em-pred) 602 (provide 'em-pred)
602 603
604 ;; Local Variables:
605 ;; generated-autoload-file: "esh-groups.el"
606 ;; End:
607
603 ;; arch-tag: 8b5ce022-17f3-4c40-93c7-5faafaa63f31 608 ;; arch-tag: 8b5ce022-17f3-4c40-93c7-5faafaa63f31
604 ;;; em-pred.el ends here 609 ;;; em-pred.el ends here