19 lines
364 B
EmacsLisp
19 lines
364 B
EmacsLisp
|
;;; +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
|