From 34fcfc5c049bb99d68945bb24fb9d6a0789a33dd Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 22 Dec 2017 12:37:19 +0200 Subject: [PATCH] * lisp/emacs-lisp/inline.el (define-inline): Add a doc string. --- lisp/emacs-lisp/inline.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lisp/emacs-lisp/inline.el b/lisp/emacs-lisp/inline.el index ff27158f836..b9f63c94474 100644 --- a/lisp/emacs-lisp/inline.el +++ b/lisp/emacs-lisp/inline.el @@ -124,6 +124,10 @@ After VARS is handled, BODY is evaluated in the new environment." ;;;###autoload (defmacro define-inline (name args &rest body) + "Define an inline function NAME with arguments ARGS and body in BODY. + +This is like `defmacro', but has several advantages. +See Info node `(elisp)Defining Functions' for more details." ;; FIXME: How can this work with CL arglists? (declare (indent defun) (debug defun) (doc-string 3)) (let ((doc (if (stringp (car-safe body)) (list (pop body)))) -- 2.39.2