diff options
author | Robin Templeton <[email protected]> | 2014-08-11 07:01:49 -0400 |
---|---|---|
committer | Robin Templeton <[email protected]> | 2015-04-20 00:29:03 -0400 |
commit | e8584a75c8f26ad4d0cd14571e43d708acb39acb (patch) | |
tree | c9906395906465a1f51d9f0c933c397e8be6b6dd /lisp | |
parent | 32a9496d8d7f87bb7695b62340e2602eb9cab615 (diff) |
guile-elisp defsubst
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/emacs-lisp/byte-run.el | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lisp/emacs-lisp/byte-run.el b/lisp/emacs-lisp/byte-run.el index 55b508fd9f..68f541af80 100644 --- a/lisp/emacs-lisp/byte-run.el +++ b/lisp/emacs-lisp/byte-run.el @@ -286,18 +286,6 @@ The return value is undefined. ;; (list 'put x ''byte-optimizer nil))) ;; fns))) -(defmacro defsubst (name arglist &rest body) - "Define an inline function. The syntax is just like that of `defun'. -\(fn NAME ARGLIST &optional DOCSTRING DECL &rest BODY)" - (declare (debug defun) (doc-string 3)) - (or (memq (get name 'byte-optimizer) - '(nil byte-compile-inline-expand)) - (error "`%s' is a primitive" name)) - `(prog1 - (defun ,name ,arglist ,@body) - (eval-and-compile - (put ',name 'byte-optimizer 'byte-compile-inline-expand)))) - (defvar advertised-signature-table (make-hash-table :test 'eq :weakness 'key)) (defun set-advertised-calling-convention (function signature _when) |