From: Eli Zaretskii Date: Fri, 22 Dec 2017 10:37:19 +0000 (+0200) Subject: * lisp/emacs-lisp/inline.el (define-inline): Add a doc string. X-Git-Tag: emacs-26.0.91~84 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=34fcfc5;p=emacs.git * lisp/emacs-lisp/inline.el (define-inline): Add a doc string. --- 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))))