diff options
Diffstat (limited to 'lisp/emacs-lisp/inline.el')
-rw-r--r-- | lisp/emacs-lisp/inline.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/emacs-lisp/inline.el b/lisp/emacs-lisp/inline.el index 1bccf2e0576..ffad6e8de71 100644 --- a/lisp/emacs-lisp/inline.el +++ b/lisp/emacs-lisp/inline.el @@ -71,7 +71,7 @@ (defmacro inline-quote (_exp) "Similar to backquote, but quotes code and only accepts , and not ,@." - (declare (debug t)) + (declare (debug backquote-form)) (error "inline-quote can only be used within define-inline")) (defmacro inline-const-p (_exp) @@ -90,12 +90,12 @@ (error "inline-error can only be used within define-inline")) (defmacro inline--leteval (_var-exp &rest _body) - (declare (indent 1) (debug (sexp &rest body))) + (declare (indent 1) (debug (sexp body))) ;; BEWARE: if we're here it's presumably via macro-expansion of ;; inline-letevals, so signal the error in terms of the user's code. (error "inline-letevals can only be used within define-inline")) (defmacro inline--letlisteval (_list &rest _body) - (declare (indent 1) (debug (sexp &rest body))) + (declare (indent 1) (debug (sexp body))) ;; BEWARE: if we're here it's presumably via macro-expansion of ;; inline-letevals, so signal the error in terms of the user's code. (error "inline-letevals can only be used within define-inline")) @@ -110,7 +110,7 @@ of arguments, in which case each argument is evaluated and the resulting new list is re-bound to VAR. After VARS is handled, BODY is evaluated in the new environment." - (declare (indent 1) (debug (sexp &rest form))) + (declare (indent 1) (debug (sexp body))) (cond ((consp vars) `(inline--leteval ,(pop vars) (inline-letevals ,vars ,@body))) @@ -259,7 +259,7 @@ See Info node `(elisp)Defining Functions' for more details." `(error ,@args)) (defun inline--warning (&rest _args) - `(throw 'inline--just-use + '(throw 'inline--just-use ;; FIXME: This would inf-loop by calling us right back when ;; macroexpand-all recurses to expand inline--form. ;; (macroexp--warn-and-return (format ,@args) |