blob: 8d8fd6a19176fa74082e49ee31d0c9a49fe74d5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
|