diff --git a/init.el b/init.el index 3272236..793e226 100644 --- a/init.el +++ b/init.el @@ -1,5 +1,5 @@ ;;; init.el --- tastytea's Emacs init file. -;; Time-stamp: <2019-09-30T06:00:30+00:00> +;; Time-stamp: <2019-09-30T10:00:39+00:00> ;;; Commentary: ;; Requires at least Emacs 24.3. @@ -443,6 +443,11 @@ With argument, do this that many times." "tastytea-legacy" ; For old code. '("bsd" (c-basic-offset . 4))) + + (defun my/get-builddir () + (if (member 'projectile-mode minor-mode-list) + (concat (projectile-project-root) "build") + nil)) :custom (c-default-style "tastytea"))