summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2017-11-21 08:53:31 -0800
committerGlenn Morris <rgm@gnu.org>2017-11-21 08:53:31 -0800
commit8d450453fae4518f79f7f951d8c70e11f887a934 (patch)
treee68d63f1bb832af9041db4311972c56a27eef83f /lisp
parent37a3b4ea40095ea1d47ed61d6c0c6f9d32f79e60 (diff)
downloademacs-8d450453fae4518f79f7f951d8c70e11f887a934.tar.gz
emacs-8d450453fae4518f79f7f951d8c70e11f887a934.tar.bz2
emacs-8d450453fae4518f79f7f951d8c70e11f887a934.zip
* lisp/emacs-lisp/byte-run.el (inline): Give it a doc.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/emacs-lisp/byte-run.el8
1 files changed, 6 insertions, 2 deletions
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.