aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/emacs-lisp/byte-run.el
diff options
context:
space:
mode:
authorRobin Templeton <[email protected]>2014-06-25 04:57:36 -0400
committerRobin Templeton <[email protected]>2015-04-20 00:29:01 -0400
commit5e4126bc231bb76d046898436976db3b0cc74151 (patch)
tree6a085f3a69465d98636428b4ec5358831856e975 /lisp/emacs-lisp/byte-run.el
parentdc5d130eed60dbb3e55fb3cd31b3d4bd2333ab85 (diff)
define `inline' as a macro
* lisp/emacs-lisp/byte-run.el (inline): Define as a macro.
Diffstat (limited to 'lisp/emacs-lisp/byte-run.el')
-rw-r--r--lisp/emacs-lisp/byte-run.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/byte-run.el b/lisp/emacs-lisp/byte-run.el
index 077e1dc7fc..0a9a39422d 100644
--- a/lisp/emacs-lisp/byte-run.el
+++ b/lisp/emacs-lisp/byte-run.el
@@ -261,7 +261,9 @@ The return value is undefined.
;; 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.