branch: externals/dtache commit ea6d8ae4267eefca50802e14a56481e8432958f7 Author: Niklas Eklund <niklas.ekl...@posteo.net> Commit: Niklas Eklund <niklas.ekl...@posteo.net>
Add missing autoloads --- dtache-eshell.el | 4 ++-- dtache-shell.el | 1 + dtache.el | 4 ++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/dtache-eshell.el b/dtache-eshell.el index 39406c9138..b36663388a 100644 --- a/dtache-eshell.el +++ b/dtache-eshell.el @@ -36,6 +36,7 @@ ;;;; Functions +;;;###autoload (defun dtache-eshell-setup () "Setup `dtache-eshell'." (add-hook 'eshell-prepare-command-hook #'dtache-eshell-maybe-create-session) @@ -95,10 +96,9 @@ If prefix-argument directly DETACH from the session." (insert " ")) (call-interactively #'eshell-send-input))) -;;;; Support functions - ;;;; Minor mode +;;;###autoload (define-minor-mode dtache-eshell-mode "Integrate `dtache' in eshell-mode." :lighter "dtache-eshell" diff --git a/dtache-shell.el b/dtache-shell.el index 361ff9edff..d9481f4a24 100644 --- a/dtache-shell.el +++ b/dtache-shell.el @@ -54,6 +54,7 @@ This function also makes sure that the HISTFILE is disabled for local shells." "Add hook to save history when killing `shell' buffer." (add-hook 'kill-buffer-hook #'dtache-shell-save-history 0 t)) +;;;###autoload (defun dtache-shell-setup () "Setup `dtache-shell'." (add-hook 'shell-mode-hook #'dtache-shell-save-history) diff --git a/dtache.el b/dtache.el index 53f31add4b..57ca5e94f3 100644 --- a/dtache.el +++ b/dtache.el @@ -490,6 +490,7 @@ Optionally make the path LOCAL to host." (dtache-session-file session 'log)))) (dtache--db-update-entry session))) +;;;###autoload (defun dtache-initialize () "Initialize `dtache'." @@ -989,6 +990,7 @@ the current time is used." ;;;; Minor modes +;;;###autoload (define-minor-mode dtache-shell-mode "Integrate `dtache' in shell-mode." :lighter "dtache-shell" @@ -1009,6 +1011,7 @@ the current time is used." map) "Keymap for `dtache-log-mode'.") +;;;###autoload (define-derived-mode dtache-log-mode nil "Dtache Log" "Major mode for dtache logs." (read-only-mode t)) @@ -1019,6 +1022,7 @@ the current time is used." map) "Keymap for `dtache-tail-mode'.") +;;;###autoload (define-derived-mode dtache-tail-mode auto-revert-tail-mode "Dtache Tail" "Major mode for tailing dtache logs." (setq-local auto-revert-interval dtache-tail-interval)