summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/inline.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2017-12-22 13:23:16 -0500
committerGlenn Morris <rgm@gnu.org>2017-12-22 13:23:16 -0500
commit3404a87f29b28b449a2e6188f075df2f761caac5 (patch)
tree56816f744b5c74273803811d62c9b61ba2334aa3 /lisp/emacs-lisp/inline.el
parent5ee4f2fa8792ebaa84184f1a82219fbcd93e8103 (diff)
parent34fcfc5c049bb99d68945bb24fb9d6a0789a33dd (diff)
downloademacs-3404a87f29b28b449a2e6188f075df2f761caac5.tar.gz
emacs-3404a87f29b28b449a2e6188f075df2f761caac5.tar.bz2
emacs-3404a87f29b28b449a2e6188f075df2f761caac5.zip
Merge from origin/emacs-26
34fcfc5 (origin/emacs-26, emacs-26) * lisp/emacs-lisp/inline.el (defi... f7a62c2 Fix doc string of 'footnote-style-alist' c3b6742 Improve documentation of selecting windows 861d110 Improve documentation of records 22b3075 * etc/NEWS: Mention the removal of pinentry.el. (Bug#27445) 689526b Fix interactive spec of 'semantic-ia-show-variants' 90ca37f Fix documentation of 'mouse-drag-and-drop-region' and friends d60faf3 Improve detection of speller version in ispell.el a0e3b06 Document 'mouse-drag-and-drop-region' options and mention the... 164e84c Fix uses of 'nil' and 'non-nil' in manuals and a few more min... 798f07f Document that mode commands should be idempotent. ad2a47c ; * src/xdisp.c (extend_face_to_end_of_line): Fix last change. 88ddf53 Fontify a CPP construct correctly when a comment follows with... de7de9c Prevent infloop in redisplay on TTY frames 293720e Fix loss of documentation face in certain CC Mode doc comment... # Conflicts: # etc/NEWS # lisp/mail/footnote.el
Diffstat (limited to 'lisp/emacs-lisp/inline.el')
-rw-r--r--lisp/emacs-lisp/inline.el4
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."
;;;###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))))