projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7a62c2
)
* lisp/emacs-lisp/inline.el (define-inline): Add a doc string.
author
Eli Zaretskii
<eliz@gnu.org>
Fri, 22 Dec 2017 10:37:19 +0000
(12:37 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Fri, 22 Dec 2017 10:37:19 +0000
(12:37 +0200)
lisp/emacs-lisp/inline.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/inline.el
b/lisp/emacs-lisp/inline.el
index ff27158f83629d52df8bfa0c0175178a9634ecd5..b9f63c94474631447283757360af693dd75924e8 100644
(file)
--- 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))))