From: Eric Ludlam Date: Mon, 26 Jan 2015 22:26:35 +0000 (-0500) Subject: EDE: Fallback to project-linux-build-directory-default if necessary X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5776e7cd0a926badae8223c3e53bf34f4aa760e1;p=emacs.git EDE: Fallback to project-linux-build-directory-default if necessary * lisp/cedet/ede/linux.el (ede-linux--get-build-directory): Use variable `project-linux-build-directory-default' as fallback. --- diff --git a/lisp/cedet/ede/linux.el b/lisp/cedet/ede/linux.el index 22f5c3ed218..92cf801d88c 100644 --- a/lisp/cedet/ede/linux.el +++ b/lisp/cedet/ede/linux.el @@ -118,7 +118,8 @@ If DIR has not been used as a build directory, fall back to ;; use configuration (case project-linux-build-directory-default (same dir) - (ask (read-directory-name "Select Linux' build directory: " dir))))) + (ask (read-directory-name "Select Linux' build directory: " dir)) + (t project-linux-build-directory-default)))) (defun ede-linux--get-archs (dir)