From 104e01f588406bf13e84e9656e6f045b51835c1c Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 15 Aug 2018 09:24:53 +0200 Subject: [PATCH] Improve set-repl-handler!'s docstring --- modules/feature/eval/autoload/settings.el | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/modules/feature/eval/autoload/settings.el b/modules/feature/eval/autoload/settings.el index 0f9dd1dfb..04ec819ca 100644 --- a/modules/feature/eval/autoload/settings.el +++ b/modules/feature/eval/autoload/settings.el @@ -10,8 +10,13 @@ ;;;###autodef (defun set-repl-handler! (modes command) - "Define a REPL for MODES. MODES is either a single major mode symbol or a list -of them. COMMAND is a function that creates and returns the REPL buffer." + "Defines a REPL for MODES. + +MODES is either a single major mode symbol or a list of them. COMMAND is a +function that creates and returns the REPL buffer. + +COMMAND can either be a function that takes no arguments, or an interactive +command that will be called interactively." (dolist (mode (doom-enlist modes)) (setf (alist-get mode +eval-repls) command)))