Function: embark-target-email-at-point

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

Signature

(embark-target-email-at-point)

Documentation

Target the email address at point.

Source Code

;; Defined in /nix/store/lls066p88vbzffl5j0d16jbhwpn2zfz2-emacs-packages-deps/share/emacs/site-lisp/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))))