From: Glenn Morris <rgm@gnu.org>
Date: Tue, 21 Nov 2017 16:53:31 +0000 (-0800)
Subject: * lisp/emacs-lisp/byte-run.el (inline): Give it a doc.
X-Git-Tag: emacs-26.0.91~278
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8d450453fae4518f79f7f951d8c70e11f887a934;p=emacs.git

* lisp/emacs-lisp/byte-run.el (inline): Give it a doc.
---

diff --git a/lisp/emacs-lisp/byte-run.el b/lisp/emacs-lisp/byte-run.el
index abfcdb347a3..e4f21c9d6d4 100644
--- a/lisp/emacs-lisp/byte-run.el
+++ b/lisp/emacs-lisp/byte-run.el
@@ -286,8 +286,12 @@ The return value is undefined.
 
 
 ;; Redefined in byte-opt.el.
-;; This is not documented--it's not clear that we should promote it.
-(fset 'inline 'progn)
+;; This was undocumented and unused for decades.
+(defalias 'inline 'progn
+  "Like `progn', but when compiled inline top-level function calls in body.
+You don't need this.  (See bytecomp.el commentary for more details.)
+
+\(fn BODY...)")
 
 ;;; Interface to inline functions.