summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2015-10-09 13:29:10 -0400
committerDavid Thompson <dthompson2@worcester.edu>2015-10-09 13:29:10 -0400
commit8d5d18c14d5567afa5a643faa9764a89c0b2ad74 (patch)
tree04e9ad7b2e89e70e08ccdfc3e7a17d461ee6f49c
parentde0dd64073fc87e699d3efb0c6346550b4fe0cd3 (diff)
emacs: Add connect-to-dmd function.
-rw-r--r--dotfiles/.emacs.d/init.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/dotfiles/.emacs.d/init.el b/dotfiles/.emacs.d/init.el
index 4b187a3..c3a6c06 100644
--- a/dotfiles/.emacs.d/init.el
+++ b/dotfiles/.emacs.d/init.el
@@ -313,6 +313,11 @@ indentation."
(interactive)
(geiser-connect 'guile "localhost" "37147"))
+(defun connect-to-dmd ()
+ "Connect to dmd's REPL server."
+ (interactive)
+ (geiser-connect 'guile "localhost" "37148"))
+
(put 'and-let* 'scheme-indent-function 1)
(put 'syntax-parameterize 'scheme-indent-function 1)
(put 'with-mutex 'scheme-indent-function 1)