diff options
author | Maciej Barć <xgqt@gentoo.org> | 2022-04-11 22:51:57 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2022-04-11 23:24:27 +0200 |
commit | 115fd828f55035d8c3fa1851726531747d6cbd6a (patch) | |
tree | 34d8e319d922cee07c8813d99653ded26e9caa35 /app-emacs/geiser-chez/files | |
parent | app-emacs/geiser: new package; add version 0.23.2 (diff) | |
download | gentoo-115fd828f55035d8c3fa1851726531747d6cbd6a.tar.gz gentoo-115fd828f55035d8c3fa1851726531747d6cbd6a.tar.bz2 gentoo-115fd828f55035d8c3fa1851726531747d6cbd6a.zip |
app-emacs/geiser-chez: new package; add version 0.17
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/geiser-chez/files')
3 files changed, 29 insertions, 0 deletions
diff --git a/app-emacs/geiser-chez/files/50geiser-chez-gentoo.el b/app-emacs/geiser-chez/files/50geiser-chez-gentoo.el new file mode 100644 index 000000000000..e839ddce889c --- /dev/null +++ b/app-emacs/geiser-chez/files/50geiser-chez-gentoo.el @@ -0,0 +1,5 @@ +(add-to-list 'load-path "@SITELISP@") +(autoload 'run-chez "geiser-chez" + "Start a Geiser Chez REPL." t) +(autoload 'switch-to-chez "geiser-chez" + "Start a Geiser Chez REPL, or switch to a running one." t) diff --git a/app-emacs/geiser-chez/files/geiser-chez-chez-scheme-binary.patch b/app-emacs/geiser-chez/files/geiser-chez-chez-scheme-binary.patch new file mode 100644 index 000000000000..321dffa716f6 --- /dev/null +++ b/app-emacs/geiser-chez/files/geiser-chez-chez-scheme-binary.patch @@ -0,0 +1,12 @@ +index 7f29927..45c194e 100644 +--- a/geiser-chez.el ++++ b/geiser-chez.el +@@ -40,7 +40,7 @@ + :group 'geiser) + + (geiser-custom--defcustom geiser-chez-binary +- "scheme" ++ "chezscheme" + "Name to use to call the Chez Scheme executable when starting a REPL." + :type '(choice string (repeat string)) + :group 'geiser-chez) diff --git a/app-emacs/geiser-chez/files/geiser-chez-chez-scheme-src-dir.patch b/app-emacs/geiser-chez/files/geiser-chez-chez-scheme-src-dir.patch new file mode 100644 index 000000000000..547c8663012b --- /dev/null +++ b/app-emacs/geiser-chez/files/geiser-chez-chez-scheme-src-dir.patch @@ -0,0 +1,12 @@ +index 7f29927..cc1f4ca 100644 +--- a/geiser-chez.el ++++ b/geiser-chez.el +@@ -78,7 +78,7 @@ init file at this location in remote host." + geiser-chez-binary)) + + (defvar geiser-chez-scheme-dir +- (expand-file-name "src" (file-name-directory load-file-name)) ++ (expand-file-name "src" "@SITEETC@") + "Directory where the Chez scheme geiser modules are installed.") + + (defun geiser-chez--parameters () |