branch: elpa/helm
commit 9d8d7f281e0055734444b31988a04b1b4db62321
Author: Thierry Volpiatto <thie...@posteo.net>
Commit: Thierry Volpiatto <thie...@posteo.net>

    Fix email at point for emacs-30
---
 helm-files.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/helm-files.el b/helm-files.el
index 4e9906a1b1..096b6a9e52 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -5722,6 +5722,9 @@ source is `helm-source-find-files'."
                                   (ffap-url-at-point)
                                   (ffap-fixup-url it)
                                   (and (string-match ffap-url-regexp it) it))
+                       (and helm-ff-guess-ffap-urls ffap-url-regexp
+                            (fboundp 'ffap-fixup-email) ; Emacs-30
+                            (ffap-fixup-email (thing-at-point 'email)))
                        (ffap-file-at-point))))
         ;; Workaround emacs bugs:
         ;; When the region is active and a file is detected

Reply via email to