From ce11f26f7c55184b8fd1d525a1feb09d084c49d0 Mon Sep 17 00:00:00 2001 From: gadmyth Date: Sun, 10 Aug 2014 18:17:40 +0800 Subject: [PATCH] Too slow textmate-goto-file when the project files' number is big. --- textmate.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/textmate.el b/textmate.el index 3f26974..59a2c52 100644 --- a/textmate.el +++ b/textmate.el @@ -304,8 +304,8 @@ Symbols matching the text at point are put first in the completion list." "Find file: " (mapcar (lambda (e) - (replace-regexp-in-string (textmate-project-root) "" e)) - (textmate-cached-project-files (textmate-project-root)))))))) + (replace-regexp-in-string root "" e)) + (textmate-cached-project-files root))))))) (defun textmate-clear-cache () "Clears the project root and project files cache. Use after adding files."