From 9bdd208cb6f3717d58ba78d379360e661ddf0311 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Mon, 3 Oct 2022 00:00:46 +0200 Subject: [PATCH] Replace to f.el functions with native functions --- dsptl.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dsptl.el b/dsptl.el index bb4879b..2754cdb 100644 --- a/dsptl.el +++ b/dsptl.el @@ -61,9 +61,9 @@ (group-n 1 (seq (+ (not space)) alnum)) (? punctuation)) nil t nil) - (let ((source (f-relative file)) + (let ((source (file-relative-name file)) (target (match-string-no-properties 1))) - (when (f-file-p target) + (when (file-regular-p target) (push `(,source . ,target) links)))))))) (defun dsptl-display-links-directory ()