diff options
author | jao <jao@gnu.org> | 2025-01-05 15:30:41 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2025-01-05 15:30:41 +0000 |
commit | dcded86fca731969fece47d57ce90d90e0fe701a (patch) | |
tree | 4145db5988075fce87928affff574fb99dfe03c2 /elisp/geiser.el | |
parent | 97ce88463f346ff0dab147334fa0ce7b81569d7c (diff) | |
download | geiser-dcded86fca731969fece47d57ce90d90e0fe701a.tar.gz geiser-dcded86fca731969fece47d57ce90d90e0fe701a.tar.bz2 |
Revert "Define autoloads how that is normally done"
This reverts commit 67f727855895050aca3bcf37066e804dc8f307de.
While the rationale is sound, it prevents simpler uses of geiser.el to run the
package without having to install it.
Fixes #70
Diffstat (limited to 'elisp/geiser.el')
-rw-r--r-- | elisp/geiser.el | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/elisp/geiser.el b/elisp/geiser.el index 6576ac4..a7aabb9 100644 --- a/elisp/geiser.el +++ b/elisp/geiser.el @@ -51,12 +51,53 @@ ;;; Code: +;;; Locations: ;;;###autoload (defconst geiser-elisp-dir (file-name-directory (or load-file-name buffer-file-name)) "Directory containing Geiser's Elisp files.") + +;;; Autoloads: + +;;;###autoload +(autoload 'geiser-unload "geiser-reload" "Unload all Geiser code." t) + +;;;###autoload +(autoload 'geiser-reload "geiser-reload" "Reload Geiser code." t) + +;;;###autoload +(autoload 'geiser "geiser-repl" "Start a Geiser REPL." t) + +;;;###autoload +(autoload 'run-geiser "geiser-repl" "Start a Geiser REPL." t) + +;;;###autoload +(autoload 'geiser-connect "geiser-repl" + "Start a Geiser REPL connected to a remote server." t) + +;;;###autoload +(autoload 'geiser-connect-local "geiser-repl" + "Start a Geiser REPL connected to a remote server over a Unix-domain socket." + t) + +;;;###autoload +(autoload 'geiser-repl-switch "geiser-repl" + "Switch to a running one Geiser REPL." t) + +;;;###autoload +(autoload 'geiser-mode "geiser-mode" + "Minor mode adding Geiser REPL interaction to Scheme buffers." t) + +;;;###autoload +(autoload 'turn-on-geiser-mode "geiser-mode" + "Enable Geiser's mode (useful in Scheme buffers)." t) + +;;;###autoload +(autoload 'turn-off-geiser-mode "geiser-mode" + "Disable Geiser's mode (useful in Scheme buffers)." t) + (autoload 'geiser-activate-implementation "geiser-impl" "Register the given implementation as active.") @@ -79,5 +120,14 @@ geiser-implementation geiser-xref)) + +;;; Setup: + +;;;###autoload +(autoload 'geiser-mode--maybe-activate "geiser-mode") + +;;;###autoload +(add-hook 'scheme-mode-hook #'geiser-mode--maybe-activate) + (provide 'geiser) ;;; geiser.el ends here |