Add my/get-builddir ().

This commit is contained in:
tastytea 2019-09-30 12:00:58 +02:00
parent 29454d926d
commit 85e0062e0f
1 changed files with 6 additions and 1 deletions

View File

@ -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"))