mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-22 07:09:54 +00:00
* lisp/emacs-lisp/inline.el (define-inline): Add a doc string.
This commit is contained in:
parent
f7a62c2b48
commit
34fcfc5c04
@ -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))))
|
||||
|
Loading…
Reference in New Issue
Block a user