define `inline' as a macro
authorRobin Templeton <robin@terpri.org>
Wed, 25 Jun 2014 08:57:36 +0000 (04:57 -0400)
committerRobin Templeton <robin@terpri.org>
Mon, 20 Apr 2015 04:29:01 +0000 (00:29 -0400)
* lisp/emacs-lisp/byte-run.el (inline): Define as a macro.

lisp/emacs-lisp/byte-run.el

index 077e1dc..0a9a394 100644 (file)
@@ -261,7 +261,9 @@ The return value is undefined.
 \f
 ;; Redefined in byte-optimize.el.
 ;; This is not documented--it's not clear that we should promote it.
-(fset 'inline 'progn)
+
+(defmacro inline (&rest body)
+  (cons 'progn body))
 
 ;;; Interface to inline functions.