]> git.eshelyaron.com Git - emacs.git/commitdiff
EDE: Expand file name
authorEric Ludlam <eric@siege-engine.com>
Sun, 9 Aug 2015 14:15:14 +0000 (10:15 -0400)
committerDavid Engster <deng@randomsample.de>
Sun, 22 Jan 2017 21:25:16 +0000 (22:25 +0100)
* lisp/cedet/ede/auto.el (ede-calc-fromconfig): Expand the found file
 name.

lisp/cedet/ede/auto.el

index a77de92f679439bba419cd31701f1e70ecefaf7b..30419e88c0525df5bff6b321711f66b8c7cd829b 100644 (file)
@@ -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)
     ))