]> git.eshelyaron.com Git - emacs.git/commitdiff
EDE: Fallback to project-linux-build-directory-default if necessary
authorEric Ludlam <eric@siege-engine.com>
Mon, 26 Jan 2015 22:26:35 +0000 (17:26 -0500)
committerDavid Engster <deng@randomsample.de>
Thu, 19 Jan 2017 21:48:44 +0000 (22:48 +0100)
* lisp/cedet/ede/linux.el (ede-linux--get-build-directory): Use
  variable `project-linux-build-directory-default' as fallback.

lisp/cedet/ede/linux.el

index 22f5c3ed218a44d3fb7ac1726be39b7c58f4abb3..92cf801d88c83602e42e27e278ebe1a2765d62ad 100644 (file)
@@ -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)