From 0a2b38be2b1d311575b53dcee349ddd49e466871 Mon Sep 17 00:00:00 2001 From: Eric Ludlam Date: Sun, 9 Aug 2015 10:15:14 -0400 Subject: [PATCH] EDE: Expand file name * lisp/cedet/ede/auto.el (ede-calc-fromconfig): Expand the found file name. --- lisp/cedet/ede/auto.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lisp/cedet/ede/auto.el b/lisp/cedet/ede/auto.el index a77de92f679..30419e88c05 100644 --- a/lisp/cedet/ede/auto.el +++ b/lisp/cedet/ede/auto.el @@ -65,10 +65,11 @@ into memory.") (cl-defmethod ede-calc-fromconfig ((dirmatch ede-project-autoload-dirmatch)) "Calculate the value of :fromconfig from DIRMATCH." - (let ((fc (oref dirmatch fromconfig))) - (cond ((stringp fc) fc) - ((functionp fc) (funcall fc)) - (t (error "Unknown dirmatch object match style."))) + (let* ((fc (oref dirmatch fromconfig)) + (found (cond ((stringp fc) fc) + ((functionp fc) (funcall fc)) + (t (error "Unknown dirmatch object match style."))))) + (expand-file-name found) )) -- 2.39.5