From 8224f14d9289ada2747cfd73f132ae2295f2e4ae Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 13 Dec 2019 14:35:28 -0500 Subject: [PATCH] Expand on lambda!/lambda!!'s docstrings --- core/core-lib.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/core/core-lib.el b/core/core-lib.el index 265b58874..f2dfa9546 100644 --- a/core/core-lib.el +++ b/core/core-lib.el @@ -101,13 +101,17 @@ at the values with which this function was called." ;;; Sugars (defmacro λ! (&rest body) - "Expands to (lambda () (interactive) ,@body)." + "Expands to (lambda () (interactive) ,@body). +A factory for quickly producing interaction commands, particularly for keybinds +or aliases." (declare (doc-string 1)) `(lambda () (interactive) ,@body)) (defalias 'lambda! 'λ!) (defun λ!! (command &optional arg) - "Expands to a command that interactively calls COMMAND with prefix ARG." + "Expands to a command that interactively calls COMMAND with prefix ARG. +A factory for quickly producing interactive, prefixed commands for keybinds or +aliases." (declare (doc-string 1)) (lambda () (interactive) (let ((current-prefix-arg arg))