Function: embark-target-email-at-point

embark-target-email-at-point is a byte-compiled function defined in embark.el.

Signature

(embark-target-email-at-point)

Documentation

Target the email address at point.

Source Code

;; Defined in ~/.emacs.d/elpa/embark-20260610.302/embark.el
(defun embark-target-email-at-point ()
  "Target the email address at point."
  (when-let* ((email (thing-at-point 'email)))
    (when (string-prefix-p "mailto:" email)
      (setq email (string-remove-prefix "mailto:" email)))
    `(email ,email . ,(bounds-of-thing-at-point 'email))))