diff options
author | jao <jao@gnu.org> | 2021-12-05 00:41:30 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-12-05 00:41:30 +0000 |
commit | b2621789d3dace5590ca5f19d036634ef3dd84b9 (patch) | |
tree | 1630480622e33f2d040bc431c2d6c325ef070a75 /elisp/geiser-repl.el | |
parent | 5be7153e650a9817d30cb480439e3f56ce7422e7 (diff) | |
download | geiser-b2621789d3dace5590ca5f19d036634ef3dd84b9.tar.gz geiser-b2621789d3dace5590ca5f19d036634ef3dd84b9.tar.bz2 |
Initialise geiser-repl-current-project-function according to availability
Diffstat (limited to 'elisp/geiser-repl.el')
-rw-r--r-- | elisp/geiser-repl.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elisp/geiser-repl.el b/elisp/geiser-repl.el index bb827a5..9f51efa 100644 --- a/elisp/geiser-repl.el +++ b/elisp/geiser-repl.el @@ -46,7 +46,7 @@ symbol (e.g., `guile', `chicken', etc.)." :group 'geiser-repl) (geiser-custom--defcustom geiser-repl-current-project-function - 'ignore + (if (featurep 'project) #'project-current 'ignore) "Function used to determine the current project. The function is called from both source and REPL buffers, and should return a value which uniquely identifies the project." |