redguardtoo / find-file-in-project

Quick access to project files in Emacs
GNU General Public License v3.0
427 stars 56 forks source link

fix: ffip-find-relative-path in dired mode #127

Closed jinwei233 closed 3 years ago

jinwei233 commented 3 years ago

ffip-find-relative-path is not working in dired mode, because buffer-file-name is nil.

so use (expand-file-name default-directory) instead

redguardtoo commented 3 years ago

could you add some unit test?