diff options
author | Robin Templeton <[email protected]> | 2014-06-25 04:57:36 -0400 |
---|---|---|
committer | Robin Templeton <[email protected]> | 2015-04-20 00:29:01 -0400 |
commit | 5e4126bc231bb76d046898436976db3b0cc74151 (patch) | |
tree | 6a085f3a69465d98636428b4ec5358831856e975 /lisp/emacs-lisp/byte-run.el | |
parent | dc5d130eed60dbb3e55fb3cd31b3d4bd2333ab85 (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.el | 4 |
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. |