diff options
author | Franck Cuny <franckcuny@gmail.com> | 2016-02-19 17:03:07 -0800 |
---|---|---|
committer | Franck Cuny <franckcuny@gmail.com> | 2016-02-19 17:03:07 -0800 |
commit | 968eed8603cd0e8f23f44119526804bd79a7cbf4 (patch) | |
tree | fb0672d4eabb0b200cffdbf8367a74366d51b02f | |
parent | [emacs] More code related to pants (diff) | |
download | emacs.d-968eed8603cd0e8f23f44119526804bd79a7cbf4.tar.gz |
[emacs] Fix broken code ...
Diffstat (limited to '')
-rw-r--r-- | emacs.d/core/core-defun.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/emacs.d/core/core-defun.el b/emacs.d/core/core-defun.el index 6544815..855d17f 100644 --- a/emacs.d/core/core-defun.el +++ b/emacs.d/core/core-defun.el @@ -89,7 +89,7 @@ (defun fcuny/find-build-file () "Find the build file and if it exists, open it." (interactive) - (let ((build-file (fcuny/find-directory-containing-build-file (file-name-directory (buffer-file-name))))) + (let ((build-file (fcuny/--find-directory-containing-build-file (file-name-directory (buffer-file-name))))) (if build-file (find-file (concat build-file fcuny/build-file)) (error "Could not find %s" fcuny/build-file)))) @@ -97,9 +97,9 @@ (defun fcuny/build-run-target () "List the targets for a BUILD file." (interactive) - (let ((build-file (fcuny/find-root-directory-for-build-file (file-name-directory (buffer-file-name))))) + (let ((build-file (fcuny/--find-directory-containing-build-file (file-name-directory (buffer-file-name))))) (if build-file - (fcuny/build-target-list build-file) + (fcuny/--build-target-list build-file) (error "Could not find %s" fcuny/build-file)))) (provide 'core-defun) |