Commit 34fcfc5c authored by Eli Zaretskii's avatar Eli Zaretskii

* lisp/emacs-lisp/inline.el (define-inline): Add a doc string.

parent f7a62c2b
......@@ -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))))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment