Function: crm--completion-command

crm--completion-command is a macro defined in crm.el.gz.

Signature

(crm--completion-command BEG END &rest BODY)

Documentation

Run BODY with BEG and END bound to the current element's boundaries.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/crm.el.gz
(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 body)))
  `(let* ((crm--boundaries (crm--current-element))
          (,beg (car crm--boundaries))
          (,end (cdr crm--boundaries)))
     ,@body))