emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 4fef498 065/184: Use file-name-at-point-functions for file


From: Oleh Krehel
Subject: [elpa] master 4fef498 065/184: Use file-name-at-point-functions for file commands
Date: Wed, 16 Oct 2019 13:14:50 -0400 (EDT)

branch: master
commit 4fef49861812a19b9769e04a929ebca20db96609
Author: Clemens Radermacher <address@hidden>
Commit: Oleh Krehel <address@hidden>

    Use file-name-at-point-functions for file commands
    
    Fixes #2181
    Fixes #2184
    Re #1446
---
 ivy.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ivy.el b/ivy.el
index e6a158b..1094946 100644
--- a/ivy.el
+++ b/ivy.el
@@ -543,8 +543,7 @@ the restoring themselves.")
      ((thing-at-point 'url))
      ((and (eq (ivy-state-collection ivy-last) #'read-file-name-internal)
            (let ((inhibit-message t))
-             (ignore-errors
-               (ffap-file-at-point)))))
+             (run-hook-with-args-until-success 
'file-name-at-point-functions))))
      ((let ((s (thing-at-point 'symbol)))
         (and (stringp s)
              (if (string-match "\\`[`']?\\(.*?\\)'?\\'" s)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]