This will let modules define their own, regular autoloads, independent
of the core Eshell machinery for defining modules.
* lisp/eshell/em-alias.el (em-alias):
* lisp/eshell/em-banner.el (em-banner):
* lisp/eshell/em-basic.el (em-basic):
* lisp/eshell/em-cmpl.el (em-cmpl):
* lisp/eshell/em-dirs.el (em-dirs):
* lisp/eshell/em-elecslash.el (em-elecslash):
* lisp/eshell/em-extpipe.el:
* lisp/eshell/em-glob.el (em-glob):
* lisp/eshell/em-hist.el (em-hist):
* lisp/eshell/em-ls.el (em-ls):
* lisp/eshell/em-pred.el (em-pred):
* lisp/eshell/em-prompt.el (em-prompt):
* lisp/eshell/em-rebind.el (em-rebind):
* lisp/eshell/em-script.el (em-script):
* lisp/eshell/em-smart.el (em-smart):
* lisp/eshell/em-term.el (em-term):
* lisp/eshell/em-tramp.el (em-tramp):
* lisp/eshell/em-unix.el (em-unix):
* lisp/eshell/em-xtra.el (em-xtra): Use 'esh-module-autoload'.
* lisp/eshell/esh-module.el ("esh-module-loaddefs"): Load this instead
of "esh-groups".
* .gitignore: Change esh-groups.el to esh-module-loaddefs.el
(cherry picked from commit
4c924a53334035dc4089b24174012b54c020631b)
lisp/cedet/semantic/wisent/python-wy.el
lisp/cedet/srecode/srt-wy.el
lisp/cedet/semantic/grammar-wy.el
-lisp/eshell/esh-groups.el
+lisp/eshell/esh-module-loaddefs.el
lisp/finder-inf.el
lisp/leim/ja-dic/
leim/small-ja-dic-option
(require 'esh-mode)
-;;;###autoload
+;;;###esh-module-autoload
(progn
(defgroup eshell-alias nil
"Command aliases allow for easy definition of alternate commands."
(eshell-parse-command alias))))))))))
(provide 'em-alias)
-
-;; Local Variables:
-;; generated-autoload-file: "esh-groups.el"
-;; End:
-
;;; em-alias.el ends here
(require 'esh-util)
(require 'esh-mode)
-;;;###autoload
+;;;###esh-module-autoload
(progn
(defgroup eshell-banner nil
"This sample module displays a welcome banner at login.
(eshell-interactive-print msg))))
(provide 'em-banner)
-
-;; Local Variables:
-;; generated-autoload-file: "esh-groups.el"
-;; End:
-
;;; em-banner.el ends here
(require 'esh-opt)
(require 'esh-util)
-;;;###autoload
+;;;###esh-module-autoload
(progn
(defgroup eshell-basic nil
"The \"basic\" code provides a set of convenience functions which
(while (pcomplete-here '("error" "form" "process"))))
(provide 'em-basic)
-
-;; Local Variables:
-;; generated-autoload-file: "esh-groups.el"
-;; End:
-
;;; em-basic.el ends here
(eval-when-compile (require 'cl-lib))
-;;;###autoload
+;;;###esh-module-autoload
(progn
(defgroup eshell-cmpl nil
"This module provides a programmable completion function bound to
(define-obsolete-function-alias 'eshell-pcomplete #'completion-at-point "27.1")
(provide 'em-cmpl)
-
-;; Local Variables:
-;; generated-autoload-file: "esh-groups.el"
-;; End:
-
;;; em-cmpl.el ends here
(require 'ring)
(require 'esh-opt)
-;;;###autoload
+;;;###esh-module-autoload
(progn
(defgroup eshell-dirs nil
"Directory navigation involves changing directories, examining the
'no-message))))))))
(provide 'em-dirs)
-
-;; Local Variables:
-;; generated-autoload-file: "esh-groups.el"
-;; End:
-
;;; em-dirs.el ends here
(require 'esh-mode)
;; This makes us an option when customizing `eshell-modules-list'.
-;;;###autoload
+;;;###esh-module-autoload
(progn
(defgroup eshell-elecslash nil
"Electric forward slash in remote Eshells.
(insert "/")))))
(provide 'em-elecslash)
-
-;; Local Variables:
-;; generated-autoload-file: "esh-groups.el"
-;; End:
-
;;; esh-elecslash.el ends here
(eval-when-compile (require 'files-x))
-;;;###autoload
+;;;###esh-module-autoload
(progn
(defgroup eshell-extpipe nil
"Native shell pipelines.
(require 'esh-module)
(require 'esh-util)
-;;;###autoload
+;;;###esh-module-autoload
(progn
(defgroup eshell-glob nil
"This module provides extended globbing syntax, similar what is used
(eshell-glob-entries rdir globs only-dirs)))))
(provide 'em-glob)
-
-;; Local Variables:
-;; generated-autoload-file: "esh-groups.el"
-;; End:
-
;;; em-glob.el ends here
(require 'esh-opt)
(require 'esh-mode)
-;;;###autoload
+;;;###esh-module-autoload
(progn
(defgroup eshell-hist nil
"This module provides command history management."
(remove-hook 'kill-emacs-hook 'eshell-save-some-history))
(provide 'em-hist)
-
-;; Local Variables:
-;; generated-autoload-file: "esh-groups.el"
-;; End:
-
;;; em-hist.el ends here
(require 'esh-proc)
(require 'esh-cmd)
-;;;###autoload
+;;;###esh-module-autoload
(progn
(defgroup eshell-ls nil
"This module implements the \"ls\" utility fully in Lisp.
(eshell-ls-disable-in-dired))
(provide 'em-ls)
-
-;; Local Variables:
-;; generated-autoload-file: "esh-groups.el"
-;; End:
-
;;; em-ls.el ends here
(require 'esh-mode)
-;;;###autoload
+;;;###esh-module-autoload
(progn
(defgroup eshell-pred nil
"This module allows for predicates to be applied to globbing
lst))))
(provide 'em-pred)
-
-;; Local Variables:
-;; generated-autoload-file: "esh-groups.el"
-;; End:
-
;;; em-pred.el ends here
(require 'esh-mode)
(require 'text-property-search)
-;;;###autoload
+;;;###esh-module-autoload
(progn
(defgroup eshell-prompt nil
"This module provides command prompts, and navigation between them,
(move-beginning-of-line arg)))
(provide 'em-prompt)
-
-;; Local Variables:
-;; generated-autoload-file: "esh-groups.el"
-;; End:
-
;;; em-prompt.el ends here
(require 'esh-mode)
-;;;###autoload
+;;;###esh-module-autoload
(progn
(defgroup eshell-rebind nil
"This module allows for special keybindings that only take effect
(eshell-delete-backward-char (- arg)))))
(provide 'em-rebind)
-
-;; Local Variables:
-;; generated-autoload-file: "esh-groups.el"
-;; End:
-
;;; em-rebind.el ends here
(require 'esh-mode)
-;;;###autoload
+;;;###esh-module-autoload
(progn
(defgroup eshell-script nil
"This module allows for the execution of files containing Eshell
(put 'eshell/. 'eshell-no-numeric-conversions t)
(provide 'em-script)
-
-;; Local Variables:
-;; generated-autoload-file: "esh-groups.el"
-;; End:
-
;;; em-script.el ends here
(require 'esh-mode)
-;;;###autoload
+;;;###esh-module-autoload
(progn
(defgroup eshell-smart nil
"This module combines the facility of normal, modern shells with
(remove-hook 'window-configuration-change-hook #'eshell-smart-scroll))
(provide 'em-smart)
-
-;; Local Variables:
-;; generated-autoload-file: "esh-groups.el"
-;; End:
-
;;; em-smart.el ends here
(require 'esh-ext)
(require 'term)
-;;;###autoload
+;;;###esh-module-autoload
(progn
(defgroup eshell-term nil
"This module causes visual commands (e.g., `vi') to be executed by
; (use-local-map term-old-mode-map))
(provide 'em-term)
-
-;; Local Variables:
-;; generated-autoload-file: "esh-groups.el"
-;; End:
-
;;; em-term.el ends here
;; There are no items in this custom group, but eshell modules (ab)use
;; custom groups.
-;;;###autoload
+;;;###esh-module-autoload
(progn
(defgroup eshell-tramp nil
"This module defines commands that use Tramp in a way that is
(put 'eshell/doas 'eshell-no-numeric-conversions t)
(provide 'em-tramp)
-
-;; Local Variables:
-;; generated-autoload-file: "esh-groups.el"
-;; End:
-
;;; em-tramp.el ends here
(require 'esh-mode)
(require 'pcomplete)
-;;;###autoload
+;;;###esh-module-autoload
(progn
(defgroup eshell-unix nil
"This module defines many of the more common UNIX utilities as
(define-obsolete-function-alias 'eshell-diff-quit #'ignore "30.1")
(provide 'em-unix)
-
-;; Local Variables:
-;; generated-autoload-file: "esh-groups.el"
-;; End:
-
;;; em-unix.el ends here
;; There are no items in this custom group, but eshell modules (ab)use
;; custom groups.
-;;;###autoload
+;;;###esh-module-autoload
(progn
(defgroup eshell-xtra nil
"This module defines some extra alias functions which are entirely
(defalias 'eshell/gf #'find-grep-dired)
(provide 'em-xtra)
-
-;; Local Variables:
-;; generated-autoload-file: "esh-groups.el"
-;; End:
-
;;; em-xtra.el ends here
;; `eshell-modules-list'. We use "(progn (defgroup ..." in each file
;; to force the autoloader into including the entire defgroup, rather
;; than an abbreviated version.
-(load "esh-groups" nil 'nomessage)
+(load "esh-module-loaddefs" nil 'nomessage)
;;; User Variables: