From 2243b1e4effdeda0cec9cde4a49fd9ac8a5f9271 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sun, 16 Jan 2022 23:13:11 -0600 Subject: Dammit, lots of changes --- lisp/+sly.el | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 lisp/+sly.el (limited to 'lisp/+sly.el') 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 @@ +;;; +sly.el --- Sly customizations -*- lexical-binding: t; -*- + +;;; Commentary: + +;;; Code: + +(require 'sly) + +(defun sly-mrepl-return-at-end () + (interactive) + (if (<= (point-max) (point)) + (sly-mrepl-return) + (if (bound-and-true-p paredit-mode) + (paredit-newline) + (electric-newline-and-maybe-indent)))) + +(provide '+sly) +;;; +sly.el ends here -- cgit 1.4.1-21-gabe81