From a182fd024ddd168c88f5ca8f6c4a0db51db6a8cd Mon Sep 17 00:00:00 2001 From: Justin Zhu Date: Mon, 26 Sep 2011 00:34:04 -0700 Subject: [PATCH] add missing files --- jz/git-find-file.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jz/git-find-file.el b/jz/git-find-file.el index 07e3cf6..9cf998f 100755 --- a/jz/git-find-file.el +++ b/jz/git-find-file.el @@ -90,6 +90,10 @@ ido is used for the completing read if available." (completing-read prompt names nil t))) ;;;###autoload + +(defun last-component (str sep) + (car (last (split-string str sep t)))) + (defun git-find-file () "Prompt with a completing list of all files in the project to find one.