diff options
| author | Glenn Morris | 2012-06-27 00:08:06 -0700 |
|---|---|---|
| committer | Glenn Morris | 2012-06-27 00:08:06 -0700 |
| commit | 35ff222c16e3c0a6a0dfd95426f9453ac182a5ed (patch) | |
| tree | 2a869e0e2cf24836296fe1b632cc52eaf9b758ab | |
| parent | 7983050d181d2fd4020db5f3736ed94d104aea5d (diff) | |
| download | emacs-35ff222c16e3c0a6a0dfd95426f9453ac182a5ed.tar.gz emacs-35ff222c16e3c0a6a0dfd95426f9453ac182a5ed.zip | |
Replace eshell-defgroup with plain defgroup
Borrowing a trick from vc-sccs.el, wrap the defgroup in a progn
so that the whole thing ends up in the generated autoload file,
esh-groups.el.
* em-alias.el, em-banner.el, em-basic.el, em-cmpl.el, em-dirs.el:
* em-glob.el, em-hist.el, em-ls.el, em-pred.el, em-prompt.el:
* em-rebind.el, em-script.el, em-smart.el, em-term.el, em-unix.el:
* em-xtra.el: Replace eshell-defgroup with (progn (defgroup.
* eshell.el (eshell-defgroup): Remove alias.
| -rw-r--r-- | lisp/ChangeLog | 10 | ||||
| -rw-r--r-- | lisp/eshell/em-alias.el | 5 | ||||
| -rw-r--r-- | lisp/eshell/em-banner.el | 5 | ||||
| -rw-r--r-- | lisp/eshell/em-basic.el | 5 | ||||
| -rw-r--r-- | lisp/eshell/em-cmpl.el | 5 | ||||
| -rw-r--r-- | lisp/eshell/em-dirs.el | 5 | ||||
| -rw-r--r-- | lisp/eshell/em-glob.el | 5 | ||||
| -rw-r--r-- | lisp/eshell/em-hist.el | 5 | ||||
| -rw-r--r-- | lisp/eshell/em-ls.el | 5 | ||||
| -rw-r--r-- | lisp/eshell/em-pred.el | 5 | ||||
| -rw-r--r-- | lisp/eshell/em-prompt.el | 5 | ||||
| -rw-r--r-- | lisp/eshell/em-rebind.el | 5 | ||||
| -rw-r--r-- | lisp/eshell/em-script.el | 5 | ||||
| -rw-r--r-- | lisp/eshell/em-smart.el | 5 | ||||
| -rw-r--r-- | lisp/eshell/em-term.el | 5 | ||||
| -rw-r--r-- | lisp/eshell/em-unix.el | 5 | ||||
| -rw-r--r-- | lisp/eshell/em-xtra.el | 5 | ||||
| -rw-r--r-- | lisp/eshell/esh-module.el | 4 | ||||
| -rw-r--r-- | lisp/eshell/eshell.el | 4 |
19 files changed, 61 insertions, 37 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c52891af605..5ef714b6878 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2012-06-27 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el: | ||
| 4 | * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el: | ||
| 5 | * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el: | ||
| 6 | * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el: | ||
| 7 | * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el: | ||
| 8 | * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup". | ||
| 9 | * eshell/eshell.el (eshell-defgroup): Remove alias. | ||
| 10 | |||
| 1 | 2012-06-27 Chong Yidong <cyd@gnu.org> | 11 | 2012-06-27 Chong Yidong <cyd@gnu.org> |
| 2 | 12 | ||
| 3 | * help.el (help-enable-auto-load): New variable. | 13 | * help.el (help-enable-auto-load): New variable. |
diff --git a/lisp/eshell/em-alias.el b/lisp/eshell/em-alias.el index d45f918113d..4b62fec95e6 100644 --- a/lisp/eshell/em-alias.el +++ b/lisp/eshell/em-alias.el | |||
| @@ -95,11 +95,12 @@ | |||
| 95 | (require 'eshell) | 95 | (require 'eshell) |
| 96 | 96 | ||
| 97 | ;;;###autoload | 97 | ;;;###autoload |
| 98 | (eshell-defgroup eshell-alias nil | 98 | (progn |
| 99 | (defgroup eshell-alias nil | ||
| 99 | "Command aliases allow for easy definition of alternate commands." | 100 | "Command aliases allow for easy definition of alternate commands." |
| 100 | :tag "Command aliases" | 101 | :tag "Command aliases" |
| 101 | ;; :link '(info-link "(eshell)Command aliases") | 102 | ;; :link '(info-link "(eshell)Command aliases") |
| 102 | :group 'eshell-module) | 103 | :group 'eshell-module)) |
| 103 | 104 | ||
| 104 | (defcustom eshell-aliases-file (expand-file-name "alias" eshell-directory-name) | 105 | (defcustom eshell-aliases-file (expand-file-name "alias" eshell-directory-name) |
| 105 | "The file in which aliases are kept. | 106 | "The file in which aliases are kept. |
diff --git a/lisp/eshell/em-banner.el b/lisp/eshell/em-banner.el index a96a3dfe6af..82cb638a791 100644 --- a/lisp/eshell/em-banner.el +++ b/lisp/eshell/em-banner.el | |||
| @@ -46,13 +46,14 @@ | |||
| 46 | (require 'esh-util) | 46 | (require 'esh-util) |
| 47 | 47 | ||
| 48 | ;;;###autoload | 48 | ;;;###autoload |
| 49 | (eshell-defgroup eshell-banner nil | 49 | (progn |
| 50 | (defgroup eshell-banner nil | ||
| 50 | "This sample module displays a welcome banner at login. | 51 | "This sample module displays a welcome banner at login. |
| 51 | It exists so that others wishing to create their own Eshell extension | 52 | It exists so that others wishing to create their own Eshell extension |
| 52 | modules may have a simple template to begin with." | 53 | modules may have a simple template to begin with." |
| 53 | :tag "Login banner" | 54 | :tag "Login banner" |
| 54 | ;; :link '(info-link "(eshell)Login banner") | 55 | ;; :link '(info-link "(eshell)Login banner") |
| 55 | :group 'eshell-module) | 56 | :group 'eshell-module)) |
| 56 | 57 | ||
| 57 | ;;; User Variables: | 58 | ;;; User Variables: |
| 58 | 59 | ||
diff --git a/lisp/eshell/em-basic.el b/lisp/eshell/em-basic.el index ece029c39f2..e07bc75f89a 100644 --- a/lisp/eshell/em-basic.el +++ b/lisp/eshell/em-basic.el | |||
| @@ -66,14 +66,15 @@ | |||
| 66 | (require 'esh-opt) | 66 | (require 'esh-opt) |
| 67 | 67 | ||
| 68 | ;;;###autoload | 68 | ;;;###autoload |
| 69 | (eshell-defgroup eshell-basic nil | 69 | (progn |
| 70 | (defgroup eshell-basic nil | ||
| 70 | "The \"basic\" code provides a set of convenience functions which | 71 | "The \"basic\" code provides a set of convenience functions which |
| 71 | are traditionally considered shell builtins. Since all of the | 72 | are traditionally considered shell builtins. Since all of the |
| 72 | functionality provided by them is accessible through Lisp, they are | 73 | functionality provided by them is accessible through Lisp, they are |
| 73 | not really builtins at all, but offer a command-oriented way to do the | 74 | not really builtins at all, but offer a command-oriented way to do the |
| 74 | same thing." | 75 | same thing." |
| 75 | :tag "Basic shell commands" | 76 | :tag "Basic shell commands" |
| 76 | :group 'eshell-module) | 77 | :group 'eshell-module)) |
| 77 | 78 | ||
| 78 | (defcustom eshell-plain-echo-behavior nil | 79 | (defcustom eshell-plain-echo-behavior nil |
| 79 | "If non-nil, `echo' tries to behave like an ordinary shell echo. | 80 | "If non-nil, `echo' tries to behave like an ordinary shell echo. |
diff --git a/lisp/eshell/em-cmpl.el b/lisp/eshell/em-cmpl.el index a5e1b6194c7..25a70104c02 100644 --- a/lisp/eshell/em-cmpl.el +++ b/lisp/eshell/em-cmpl.el | |||
| @@ -75,12 +75,13 @@ | |||
| 75 | (require 'esh-util) | 75 | (require 'esh-util) |
| 76 | 76 | ||
| 77 | ;;;###autoload | 77 | ;;;###autoload |
| 78 | (eshell-defgroup eshell-cmpl nil | 78 | (progn |
| 79 | (defgroup eshell-cmpl nil | ||
| 79 | "This module provides a programmable completion function bound to | 80 | "This module provides a programmable completion function bound to |
| 80 | the TAB key, which allows for completing command names, file names, | 81 | the TAB key, which allows for completing command names, file names, |
| 81 | variable names, arguments, etc." | 82 | variable names, arguments, etc." |
| 82 | :tag "Argument completion" | 83 | :tag "Argument completion" |
| 83 | :group 'eshell-module) | 84 | :group 'eshell-module)) |
| 84 | 85 | ||
| 85 | ;;; User Variables: | 86 | ;;; User Variables: |
| 86 | 87 | ||
diff --git a/lisp/eshell/em-dirs.el b/lisp/eshell/em-dirs.el index 992b5bdd77e..4a3fa54626b 100644 --- a/lisp/eshell/em-dirs.el +++ b/lisp/eshell/em-dirs.el | |||
| @@ -47,14 +47,15 @@ | |||
| 47 | (require 'esh-opt) | 47 | (require 'esh-opt) |
| 48 | 48 | ||
| 49 | ;;;###autoload | 49 | ;;;###autoload |
| 50 | (eshell-defgroup eshell-dirs nil | 50 | (progn |
| 51 | (defgroup eshell-dirs nil | ||
| 51 | "Directory navigation involves changing directories, examining the | 52 | "Directory navigation involves changing directories, examining the |
| 52 | current directory, maintaining a directory stack, and also keeping | 53 | current directory, maintaining a directory stack, and also keeping |
| 53 | track of a history of the last directory locations the user was in. | 54 | track of a history of the last directory locations the user was in. |
| 54 | Emacs does provide standard Lisp definitions of `pwd' and `cd', but | 55 | Emacs does provide standard Lisp definitions of `pwd' and `cd', but |
| 55 | they lack somewhat in feel from the typical shell equivalents." | 56 | they lack somewhat in feel from the typical shell equivalents." |
| 56 | :tag "Directory navigation" | 57 | :tag "Directory navigation" |
| 57 | :group 'eshell-module) | 58 | :group 'eshell-module)) |
| 58 | 59 | ||
| 59 | ;;; User Variables: | 60 | ;;; User Variables: |
| 60 | 61 | ||
diff --git a/lisp/eshell/em-glob.el b/lisp/eshell/em-glob.el index 623d2c8e193..288aa9b773b 100644 --- a/lisp/eshell/em-glob.el +++ b/lisp/eshell/em-glob.el | |||
| @@ -53,11 +53,12 @@ | |||
| 53 | (require 'esh-util) | 53 | (require 'esh-util) |
| 54 | 54 | ||
| 55 | ;;;###autoload | 55 | ;;;###autoload |
| 56 | (eshell-defgroup eshell-glob nil | 56 | (progn |
| 57 | (defgroup eshell-glob nil | ||
| 57 | "This module provides extended globbing syntax, similar what is used | 58 | "This module provides extended globbing syntax, similar what is used |
| 58 | by zsh for filename generation." | 59 | by zsh for filename generation." |
| 59 | :tag "Extended filename globbing" | 60 | :tag "Extended filename globbing" |
| 60 | :group 'eshell-module) | 61 | :group 'eshell-module)) |
| 61 | 62 | ||
| 62 | ;;; User Variables: | 63 | ;;; User Variables: |
| 63 | 64 | ||
diff --git a/lisp/eshell/em-hist.el b/lisp/eshell/em-hist.el index 05097a8deaf..62d0bd65e9d 100644 --- a/lisp/eshell/em-hist.el +++ b/lisp/eshell/em-hist.el | |||
| @@ -63,10 +63,11 @@ | |||
| 63 | (require 'eshell) | 63 | (require 'eshell) |
| 64 | 64 | ||
| 65 | ;;;###autoload | 65 | ;;;###autoload |
| 66 | (eshell-defgroup eshell-hist nil | 66 | (progn |
| 67 | (defgroup eshell-hist nil | ||
| 67 | "This module provides command history management." | 68 | "This module provides command history management." |
| 68 | :tag "History list management" | 69 | :tag "History list management" |
| 69 | :group 'eshell-module) | 70 | :group 'eshell-module)) |
| 70 | 71 | ||
| 71 | ;;; User Variables: | 72 | ;;; User Variables: |
| 72 | 73 | ||
diff --git a/lisp/eshell/em-ls.el b/lisp/eshell/em-ls.el index 144b4dda8e2..5553207b626 100644 --- a/lisp/eshell/em-ls.el +++ b/lisp/eshell/em-ls.el | |||
| @@ -33,14 +33,15 @@ | |||
| 33 | (require 'esh-opt) | 33 | (require 'esh-opt) |
| 34 | 34 | ||
| 35 | ;;;###autoload | 35 | ;;;###autoload |
| 36 | (eshell-defgroup eshell-ls nil | 36 | (progn |
| 37 | (defgroup eshell-ls nil | ||
| 37 | "This module implements the \"ls\" utility fully in Lisp. If it is | 38 | "This module implements the \"ls\" utility fully in Lisp. If it is |
| 38 | passed any unrecognized command switches, it will revert to the | 39 | passed any unrecognized command switches, it will revert to the |
| 39 | operating system's version. This version of \"ls\" uses text | 40 | operating system's version. This version of \"ls\" uses text |
| 40 | properties to colorize its output based on the setting of | 41 | properties to colorize its output based on the setting of |
| 41 | `eshell-ls-use-colors'." | 42 | `eshell-ls-use-colors'." |
| 42 | :tag "Implementation of `ls' in Lisp" | 43 | :tag "Implementation of `ls' in Lisp" |
| 43 | :group 'eshell-module) | 44 | :group 'eshell-module)) |
| 44 | 45 | ||
| 45 | ;;; User Variables: | 46 | ;;; User Variables: |
| 46 | 47 | ||
diff --git a/lisp/eshell/em-pred.el b/lisp/eshell/em-pred.el index 56b0fdfc9a2..fc23c0099e8 100644 --- a/lisp/eshell/em-pred.el +++ b/lisp/eshell/em-pred.el | |||
| @@ -49,13 +49,14 @@ | |||
| 49 | (eval-when-compile (require 'eshell)) | 49 | (eval-when-compile (require 'eshell)) |
| 50 | 50 | ||
| 51 | ;;;###autoload | 51 | ;;;###autoload |
| 52 | (eshell-defgroup eshell-pred nil | 52 | (progn |
| 53 | (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" |
| 58 | :group 'eshell-module) | 59 | :group 'eshell-module)) |
| 59 | 60 | ||
| 60 | ;;; User Variables: | 61 | ;;; User Variables: |
| 61 | 62 | ||
diff --git a/lisp/eshell/em-prompt.el b/lisp/eshell/em-prompt.el index c13bb6d9630..f4701ec35ea 100644 --- a/lisp/eshell/em-prompt.el +++ b/lisp/eshell/em-prompt.el | |||
| @@ -29,11 +29,12 @@ | |||
| 29 | (eval-when-compile (require 'eshell)) | 29 | (eval-when-compile (require 'eshell)) |
| 30 | 30 | ||
| 31 | ;;;###autoload | 31 | ;;;###autoload |
| 32 | (eshell-defgroup eshell-prompt nil | 32 | (progn |
| 33 | (defgroup eshell-prompt nil | ||
| 33 | "This module provides command prompts, and navigation between them, | 34 | "This module provides command prompts, and navigation between them, |
| 34 | as is common with most shells." | 35 | as is common with most shells." |
| 35 | :tag "Command prompts" | 36 | :tag "Command prompts" |
| 36 | :group 'eshell-module) | 37 | :group 'eshell-module)) |
| 37 | 38 | ||
| 38 | ;;; User Variables: | 39 | ;;; User Variables: |
| 39 | 40 | ||
diff --git a/lisp/eshell/em-rebind.el b/lisp/eshell/em-rebind.el index 243e71d7533..929b74d789d 100644 --- a/lisp/eshell/em-rebind.el +++ b/lisp/eshell/em-rebind.el | |||
| @@ -26,7 +26,8 @@ | |||
| 26 | (eval-when-compile (require 'eshell)) | 26 | (eval-when-compile (require 'eshell)) |
| 27 | 27 | ||
| 28 | ;;;###autoload | 28 | ;;;###autoload |
| 29 | (eshell-defgroup eshell-rebind nil | 29 | (progn |
| 30 | (defgroup eshell-rebind nil | ||
| 30 | "This module allows for special keybindings that only take effect | 31 | "This module allows for special keybindings that only take effect |
| 31 | while the point is in a region of input text. By default, it binds | 32 | while the point is in a region of input text. By default, it binds |
| 32 | C-a to move to the beginning of the input text (rather than just the | 33 | C-a to move to the beginning of the input text (rather than just the |
| @@ -37,7 +38,7 @@ commands to cause the point to leave the input area, such as | |||
| 37 | `backward-word', `previous-line', etc. This module intends to mimic | 38 | `backward-word', `previous-line', etc. This module intends to mimic |
| 38 | the behavior of normal shells while the user editing new input text." | 39 | the behavior of normal shells while the user editing new input text." |
| 39 | :tag "Rebind keys at input" | 40 | :tag "Rebind keys at input" |
| 40 | :group 'eshell-module) | 41 | :group 'eshell-module)) |
| 41 | 42 | ||
| 42 | ;;; User Variables: | 43 | ;;; User Variables: |
| 43 | 44 | ||
diff --git a/lisp/eshell/em-script.el b/lisp/eshell/em-script.el index 8acbc2644be..3b203b4856c 100644 --- a/lisp/eshell/em-script.el +++ b/lisp/eshell/em-script.el | |||
| @@ -26,11 +26,12 @@ | |||
| 26 | (require 'eshell) | 26 | (require 'eshell) |
| 27 | 27 | ||
| 28 | ;;;###autoload | 28 | ;;;###autoload |
| 29 | (eshell-defgroup eshell-script nil | 29 | (progn |
| 30 | (defgroup eshell-script nil | ||
| 30 | "This module allows for the execution of files containing Eshell | 31 | "This module allows for the execution of files containing Eshell |
| 31 | commands, as a script file." | 32 | commands, as a script file." |
| 32 | :tag "Running script files." | 33 | :tag "Running script files." |
| 33 | :group 'eshell-module) | 34 | :group 'eshell-module)) |
| 34 | 35 | ||
| 35 | ;;; User Variables: | 36 | ;;; User Variables: |
| 36 | 37 | ||
diff --git a/lisp/eshell/em-smart.el b/lisp/eshell/em-smart.el index cdaed9b717c..b427fe69ea4 100644 --- a/lisp/eshell/em-smart.el +++ b/lisp/eshell/em-smart.el | |||
| @@ -71,7 +71,8 @@ | |||
| 71 | (eval-when-compile (require 'eshell)) | 71 | (eval-when-compile (require 'eshell)) |
| 72 | 72 | ||
| 73 | ;;;###autoload | 73 | ;;;###autoload |
| 74 | (eshell-defgroup eshell-smart nil | 74 | (progn |
| 75 | (defgroup eshell-smart nil | ||
| 75 | "This module combines the facility of normal, modern shells with | 76 | "This module combines the facility of normal, modern shells with |
| 76 | some of the edit/review concepts inherent in the design of Plan 9's | 77 | some of the edit/review concepts inherent in the design of Plan 9's |
| 77 | 9term. See the docs for more details. | 78 | 9term. See the docs for more details. |
| @@ -80,7 +81,7 @@ Most likely you will have to turn this option on and play around with | |||
| 80 | it to get a real sense of how it works." | 81 | it to get a real sense of how it works." |
| 81 | :tag "Smart display of output" | 82 | :tag "Smart display of output" |
| 82 | ;; :link '(info-link "(eshell)Smart display of output") | 83 | ;; :link '(info-link "(eshell)Smart display of output") |
| 83 | :group 'eshell-module) | 84 | :group 'eshell-module)) |
| 84 | 85 | ||
| 85 | ;;; User Variables: | 86 | ;;; User Variables: |
| 86 | 87 | ||
diff --git a/lisp/eshell/em-term.el b/lisp/eshell/em-term.el index 33c47d1c0ec..37fa939cc10 100644 --- a/lisp/eshell/em-term.el +++ b/lisp/eshell/em-term.el | |||
| @@ -35,14 +35,15 @@ | |||
| 35 | (require 'term) | 35 | (require 'term) |
| 36 | 36 | ||
| 37 | ;;;###autoload | 37 | ;;;###autoload |
| 38 | (eshell-defgroup eshell-term nil | 38 | (progn |
| 39 | (defgroup eshell-term nil | ||
| 39 | "This module causes visual commands (e.g., 'vi') to be executed by | 40 | "This module causes visual commands (e.g., 'vi') to be executed by |
| 40 | the `term' package, which comes with Emacs. This package handles most | 41 | the `term' package, which comes with Emacs. This package handles most |
| 41 | of the ANSI control codes, allowing curses-based applications to run | 42 | of the ANSI control codes, allowing curses-based applications to run |
| 42 | within an Emacs window. The variable `eshell-visual-commands' defines | 43 | within an Emacs window. The variable `eshell-visual-commands' defines |
| 43 | which commands are considered visual in nature." | 44 | which commands are considered visual in nature." |
| 44 | :tag "Running visual commands" | 45 | :tag "Running visual commands" |
| 45 | :group 'eshell-module) | 46 | :group 'eshell-module)) |
| 46 | 47 | ||
| 47 | ;;; User Variables: | 48 | ;;; User Variables: |
| 48 | 49 | ||
diff --git a/lisp/eshell/em-unix.el b/lisp/eshell/em-unix.el index 1875506fe9d..ddba5a6520a 100644 --- a/lisp/eshell/em-unix.el +++ b/lisp/eshell/em-unix.el | |||
| @@ -40,7 +40,8 @@ | |||
| 40 | (require 'pcomplete) | 40 | (require 'pcomplete) |
| 41 | 41 | ||
| 42 | ;;;###autoload | 42 | ;;;###autoload |
| 43 | (eshell-defgroup eshell-unix nil | 43 | (progn |
| 44 | (defgroup eshell-unix nil | ||
| 44 | "This module defines many of the more common UNIX utilities as | 45 | "This module defines many of the more common UNIX utilities as |
| 45 | aliases implemented in Lisp. These include mv, ln, cp, rm, etc. If | 46 | aliases implemented in Lisp. These include mv, ln, cp, rm, etc. If |
| 46 | the user passes arguments which are too complex, or are unrecognized | 47 | the user passes arguments which are too complex, or are unrecognized |
| @@ -51,7 +52,7 @@ with Eshell makes them more versatile than their traditional cousins | |||
| 51 | \(such as being able to use `kill' to kill Eshell background processes | 52 | \(such as being able to use `kill' to kill Eshell background processes |
| 52 | by name)." | 53 | by name)." |
| 53 | :tag "UNIX commands in Lisp" | 54 | :tag "UNIX commands in Lisp" |
| 54 | :group 'eshell-module) | 55 | :group 'eshell-module)) |
| 55 | 56 | ||
| 56 | (defcustom eshell-unix-load-hook nil | 57 | (defcustom eshell-unix-load-hook nil |
| 57 | "A list of functions to run when `eshell-unix' is loaded." | 58 | "A list of functions to run when `eshell-unix' is loaded." |
diff --git a/lisp/eshell/em-xtra.el b/lisp/eshell/em-xtra.el index 3dfb33d37e3..2e7a813cb75 100644 --- a/lisp/eshell/em-xtra.el +++ b/lisp/eshell/em-xtra.el | |||
| @@ -29,13 +29,14 @@ | |||
| 29 | (require 'compile) | 29 | (require 'compile) |
| 30 | 30 | ||
| 31 | ;;;###autoload | 31 | ;;;###autoload |
| 32 | (eshell-defgroup eshell-xtra nil | 32 | (progn |
| 33 | (defgroup eshell-xtra nil | ||
| 33 | "This module defines some extra alias functions which are entirely | 34 | "This module defines some extra alias functions which are entirely |
| 34 | optional. They can be viewed as samples for how to write Eshell alias | 35 | optional. They can be viewed as samples for how to write Eshell alias |
| 35 | functions, or as aliases which make some of Emacs's behavior more | 36 | functions, or as aliases which make some of Emacs's behavior more |
| 36 | naturally accessible within Emacs." | 37 | naturally accessible within Emacs." |
| 37 | :tag "Extra alias functions" | 38 | :tag "Extra alias functions" |
| 38 | :group 'eshell-module) | 39 | :group 'eshell-module)) |
| 39 | 40 | ||
| 40 | ;;; Functions: | 41 | ;;; Functions: |
| 41 | 42 | ||
diff --git a/lisp/eshell/esh-module.el b/lisp/eshell/esh-module.el index 8875395e1d1..2e3c6b8b7b5 100644 --- a/lisp/eshell/esh-module.el +++ b/lisp/eshell/esh-module.el | |||
| @@ -36,7 +36,9 @@ customizing the variable `eshell-modules-list'." | |||
| 36 | 36 | ||
| 37 | ;; load the defgroup's for the standard extension modules, so that | 37 | ;; load the defgroup's for the standard extension modules, so that |
| 38 | ;; documentation can be provided when the user customize's | 38 | ;; documentation can be provided when the user customize's |
| 39 | ;; `eshell-modules-list'. | 39 | ;; `eshell-modules-list'. We use "(progn (defgroup ..." in each file |
| 40 | ;; to force the autoloader into including the entire defgroup, rather | ||
| 41 | ;; than an abbreviated version. | ||
| 40 | (load "esh-groups" nil 'nomessage) | 42 | (load "esh-groups" nil 'nomessage) |
| 41 | 43 | ||
| 42 | ;;; User Variables: | 44 | ;;; User Variables: |
diff --git a/lisp/eshell/eshell.el b/lisp/eshell/eshell.el index f8c9788b24d..0a200deee46 100644 --- a/lisp/eshell/eshell.el +++ b/lisp/eshell/eshell.el | |||
| @@ -236,10 +236,6 @@ shells such as bash, zsh, rc, 4dos." | |||
| 236 | :version "21.1" | 236 | :version "21.1" |
| 237 | :group 'applications) | 237 | :group 'applications) |
| 238 | 238 | ||
| 239 | ;; This is hack to force make-autoload to put the whole definition | ||
| 240 | ;; into the autoload file (see esh-module.el). | ||
| 241 | (defalias 'eshell-defgroup 'defgroup) | ||
| 242 | |||
| 243 | ;;;_* User Options | 239 | ;;;_* User Options |
| 244 | ;; | 240 | ;; |
| 245 | ;; The following user options modify the behavior of Eshell overall. | 241 | ;; The following user options modify the behavior of Eshell overall. |