diff options
| -rw-r--r-- | lisp/emacs-lisp/inline.el | 4 |
1 files changed, 4 insertions, 0 deletions
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." | |||
| 124 | 124 | ||
| 125 | ;;;###autoload | 125 | ;;;###autoload |
| 126 | (defmacro define-inline (name args &rest body) | 126 | (defmacro define-inline (name args &rest body) |
| 127 | "Define an inline function NAME with arguments ARGS and body in BODY. | ||
| 128 | |||
| 129 | This is like `defmacro', but has several advantages. | ||
| 130 | See Info node `(elisp)Defining Functions' for more details." | ||
| 127 | ;; FIXME: How can this work with CL arglists? | 131 | ;; FIXME: How can this work with CL arglists? |
| 128 | (declare (indent defun) (debug defun) (doc-string 3)) | 132 | (declare (indent defun) (debug defun) (doc-string 3)) |
| 129 | (let ((doc (if (stringp (car-safe body)) (list (pop body)))) | 133 | (let ((doc (if (stringp (car-safe body)) (list (pop body)))) |