diff options
author | Case Duckworth | 2022-01-16 23:13:11 -0600 |
---|---|---|
committer | Case Duckworth | 2022-01-16 23:13:11 -0600 |
commit | 2243b1e4effdeda0cec9cde4a49fd9ac8a5f9271 (patch) | |
tree | f7206bee6d6d046e528ab3af26550e08c1df03b5 /lisp/+sly.el | |
parent | Unignore private.el (diff) | |
download | emacs-2243b1e4effdeda0cec9cde4a49fd9ac8a5f9271.tar.gz emacs-2243b1e4effdeda0cec9cde4a49fd9ac8a5f9271.zip |
Dammit, lots of changes
Diffstat (limited to 'lisp/+sly.el')
-rw-r--r-- | lisp/+sly.el | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lisp/+sly.el b/lisp/+sly.el new file mode 100644 index 0000000..8d8fd6a --- /dev/null +++ b/lisp/+sly.el | |||
@@ -0,0 +1,18 @@ | |||
1 | ;;; +sly.el --- Sly customizations -*- lexical-binding: t; -*- | ||
2 | |||
3 | ;;; Commentary: | ||
4 | |||
5 | ;;; Code: | ||
6 | |||
7 | (require 'sly) | ||
8 | |||
9 | (defun sly-mrepl-return-at-end () | ||
10 | (interactive) | ||
11 | (if (<= (point-max) (point)) | ||
12 | (sly-mrepl-return) | ||
13 | (if (bound-and-true-p paredit-mode) | ||
14 | (paredit-newline) | ||
15 | (electric-newline-and-maybe-indent)))) | ||
16 | |||
17 | (provide '+sly) | ||
18 | ;;; +sly.el ends here | ||