Add my/get-builddir ().
This commit is contained in:
parent
29454d926d
commit
85e0062e0f
7
init.el
7
init.el
|
@ -1,5 +1,5 @@
|
||||||
;;; init.el --- tastytea's Emacs init file.
|
;;; 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:
|
;;; Commentary:
|
||||||
;; Requires at least Emacs 24.3.
|
;; Requires at least Emacs 24.3.
|
||||||
|
@ -443,6 +443,11 @@ With argument, do this that many times."
|
||||||
"tastytea-legacy" ; For old code.
|
"tastytea-legacy" ; For old code.
|
||||||
'("bsd"
|
'("bsd"
|
||||||
(c-basic-offset . 4)))
|
(c-basic-offset . 4)))
|
||||||
|
|
||||||
|
(defun my/get-builddir ()
|
||||||
|
(if (member 'projectile-mode minor-mode-list)
|
||||||
|
(concat (projectile-project-root) "build")
|
||||||
|
nil))
|
||||||
:custom
|
:custom
|
||||||
(c-default-style "tastytea"))
|
(c-default-style "tastytea"))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user