(defmacro crm--completion-command (beg end &rest body)
"Run BODY with BEG and END bound to the current element's boundaries."
- (declare (indent 2) (debug (sexp sexp &rest body)))
+ (declare (indent 2) (debug (sexp sexp body)))
`(let* ((crm--boundaries (crm--current-element))
(,beg (car crm--boundaries))
(,end (cdr crm--boundaries)))
NARROWFUN non-nil means to check for narrowing before moving, and if
found, do `widen' first and then call NARROWFUN with no args after moving.
BODY is executed after moving to the destination location."
- (declare (indent 5) (debug (exp exp exp def-form def-form &rest def-body)))
+ (declare (indent 5) (debug (exp exp exp def-form def-form def-body)))
(let* ((base-name (symbol-name base))
(prev-sym (intern (concat base-name "-prev")))
(next-sym (intern (concat base-name "-next")))
(gv-define-setter gv-deref (v ref) `(funcall (cdr ,ref) ,v))
;; (defmacro gv-letref (vars place &rest body)
-;; (declare (indent 2) (debug (sexp form &rest body)))
+;; (declare (indent 2) (debug (sexp form body)))
;; (require 'cl-lib) ;Can't require cl-lib at top-level for bootstrap reasons!
;; (gv-letplace (getter setter) place
;; `(cl-macrolet ((,(nth 0 vars) () ',getter)
(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"))
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)))
(setplist name (ses-plist-delq (symbol-plist name) 'ses-cell))) ))
(defmacro ses--letref (vars place &rest body)
- (declare (indent 2) (debug (sexp form &rest body)))
+ (declare (indent 2) (debug (sexp form body)))
(gv-letplace (getter setter) place
`(cl-macrolet ((,(nth 0 vars) () ',getter)
(,(nth 1 vars) (v) (funcall ',setter v)))