From 4f1bda5f714bb2bc351134f953bbfe2b757f2b31 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 17 Jun 2016 20:05:20 -0400 Subject: [PATCH] Remove doom-project-root-files --- core/core-project.el | 8 ++++++-- core/core.el | 8 -------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/core/core-project.el b/core/core-project.el index d47d20f78..9dcdd91d9 100644 --- a/core/core-project.el +++ b/core/core-project.el @@ -133,8 +133,12 @@ projectile-cache-file (concat doom-temp-dir "/projectile.cache") projectile-known-projects-file (concat doom-temp-dir "/projectile.projects") projectile-indexing-method 'alien - projectile-project-root-files doom-project-root-files - projectile-file-exists-remote-cache-expire nil) + projectile-file-exists-remote-cache-expire nil + projectile-project-root-files + '(".git" ".hg" ".svn" "rebar.config" "project.clj" "SConstruct" "pom.xml" + "build.sbt" "build.gradle" "Gemfile" "requirements.txt" "package.json" + "gulpfile.js" "Gruntfile.js" "bower.json" "composer.json" "Cargo.toml" + "mix.exs" "tsconfig.json")) ;; Don't cache ignored files! (defun doom*projectile-cache-current-file (orig-fun &rest args) diff --git a/core/core.el b/core/core.el index 4aa435ab7..5a68da7c5 100644 --- a/core/core.el +++ b/core/core.el @@ -53,14 +53,6 @@ killed by `doom/kill-unreal-buffers', or after `doom/kill-real-buffer').") before killing processes. If there are no buffers with matching major-modes, it gets killed.") -(defvar doom-project-root-files - '(".git" ".hg" ".svn" "rebar.config" "project.clj" "SConstruct" "pom.xml" - "build.sbt" "build.gradle" "Gemfile" "requirements.txt" "package.json" - "gulpfile.js" "Gruntfile.js" "bower.json" "composer.json" "Cargo.toml" - "mix.exs" "tsconfig.json") - "A list of files that count as 'project files', which determine whether a -folder is the root of a project or not.") - (defvar doom-unicode-font (font-spec :family "DejaVu Sans Mono" :size 13) "Font to fall back to for unicode glyphs.")