diff options
Diffstat (limited to 'app-emacs/treemacs/files')
-rw-r--r-- | app-emacs/treemacs/files/treemacs-2.9.5-tests.patch | 11 | ||||
-rw-r--r-- | app-emacs/treemacs/files/treemacs-3.0-tests.patch (renamed from app-emacs/treemacs/files/treemacs-tests.patch) | 0 | ||||
-rw-r--r-- | app-emacs/treemacs/files/treemacs-async-scripts.patch | 29 |
3 files changed, 40 insertions, 0 deletions
diff --git a/app-emacs/treemacs/files/treemacs-2.9.5-tests.patch b/app-emacs/treemacs/files/treemacs-2.9.5-tests.patch new file mode 100644 index 000000000000..afa46664802d --- /dev/null +++ b/app-emacs/treemacs/files/treemacs-2.9.5-tests.patch @@ -0,0 +1,11 @@ +--- a/test/treemacs-test.el ++++ b/test/treemacs-test.el +@@ -1079,7 +1079,7 @@ + + (describe "treemacs--parse-collapsed-dirs" + +- (it "Finds dirs to flatten in test directory" ++ (xit "Finds dirs to flatten in test directory" + (-let [treemacs-collapse-dirs 3] + (expect (-> treemacs-dir + (treemacs-join-path "test") diff --git a/app-emacs/treemacs/files/treemacs-tests.patch b/app-emacs/treemacs/files/treemacs-3.0-tests.patch index d7bc67dc3e54..d7bc67dc3e54 100644 --- a/app-emacs/treemacs/files/treemacs-tests.patch +++ b/app-emacs/treemacs/files/treemacs-3.0-tests.patch diff --git a/app-emacs/treemacs/files/treemacs-async-scripts.patch b/app-emacs/treemacs/files/treemacs-async-scripts.patch new file mode 100644 index 000000000000..0a3ef104c733 --- /dev/null +++ b/app-emacs/treemacs/files/treemacs-async-scripts.patch @@ -0,0 +1,29 @@ +--- a/src/elisp/treemacs-async.el ++++ b/src/elisp/treemacs-async.el +@@ -43,22 +43,22 @@ + (defconst treemacs--dirs-to-collapse.py + (if (member "treemacs-dirs-to-collapse.py" (directory-files treemacs-dir)) + (treemacs-join-path treemacs-dir "treemacs-dirs-to-collapse.py") +- (treemacs-join-path treemacs-dir "src/scripts/treemacs-dirs-to-collapse.py"))) ++ (treemacs-join-path treemacs-dir "@SITEETC@/scripts/treemacs-dirs-to-collapse.py"))) + + (defconst treemacs--git-status.py + (if (member "treemacs-git-status.py" (directory-files treemacs-dir)) + (treemacs-join-path treemacs-dir "treemacs-git-status.py") +- (treemacs-join-path treemacs-dir "src/scripts/treemacs-git-status.py"))) ++ (treemacs-join-path treemacs-dir "@SITEETC@/scripts/treemacs-git-status.py"))) + + (defconst treemacs--single-file-git-status.py + (if (member "treemacs-single-file-git-status.py" (directory-files treemacs-dir)) + (treemacs-join-path treemacs-dir "treemacs-single-file-git-status.py") +- (treemacs-join-path treemacs-dir "src/scripts/treemacs-single-file-git-status.py"))) ++ (treemacs-join-path treemacs-dir "@SITEETC@/scripts/treemacs-single-file-git-status.py"))) + + (defconst treemacs--find-ignored-files.py + (if (member "treemacs-find-ignored-files.py" (directory-files treemacs-dir)) + (treemacs-join-path treemacs-dir "treemacs-find-ignored-files.py") +- (treemacs-join-path treemacs-dir "src/scripts/treemacs-find-ignored-files.py"))) ++ (treemacs-join-path treemacs-dir "@SITEETC@/scripts/treemacs-find-ignored-files.py"))) + + (defvar treemacs--git-cache-max-size 60 + "Maximum size for `treemacs--git-cache'. |