Function: crm--current-element
crm--current-element is a byte-compiled function defined in crm.el.gz.
Signature
(crm--current-element)
Documentation
Parse the minibuffer to find the current element.
Return the element's boundaries as (START . END).
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/crm.el.gz
(defun crm--current-element ()
"Parse the minibuffer to find the current element.
Return the element's boundaries as (START . END)."
(let ((bob (minibuffer-prompt-end)))
(cons (save-excursion
(if (re-search-backward crm-separator bob t)
(match-end 0)
bob))
(save-excursion
(if (re-search-forward crm-separator nil t)
(match-beginning 0)
(point-max))))))