mirror of
https://github.com/correl/dotfiles.git
synced 2024-12-18 03:00:11 +00:00
[emacs] Add projmake-mode for erlang
This commit is contained in:
parent
5fecaf2c55
commit
6906769972
2 changed files with 7 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
||||||
|
|
||||||
;; Erlang
|
;; Erlang
|
||||||
(depends-on "erlang")
|
(depends-on "erlang")
|
||||||
|
(depends-on "projmake-mode")
|
||||||
|
|
||||||
;; Haskell
|
;; Haskell
|
||||||
(depends-on "haskell-mode")
|
(depends-on "haskell-mode")
|
||||||
|
|
|
@ -47,6 +47,12 @@
|
||||||
(color-theme-ld-dark)
|
(color-theme-ld-dark)
|
||||||
(color-theme-ld-dark))
|
(color-theme-ld-dark))
|
||||||
|
|
||||||
|
;; Projmake
|
||||||
|
(defun projmake-mode-hook ()
|
||||||
|
(projmake-mode)
|
||||||
|
(projmake-search-load-project))
|
||||||
|
(add-hook 'erlang-mode-hook 'projmake-mode-hook)
|
||||||
|
|
||||||
;; Window transparency
|
;; Window transparency
|
||||||
(set-frame-parameter (selected-frame) 'alpha '(85 50))
|
(set-frame-parameter (selected-frame) 'alpha '(85 50))
|
||||||
(add-to-list 'default-frame-alist '(alpha 85 50))
|
(add-to-list 'default-frame-alist '(alpha 85 50))
|
||||||
|
|
Loading…
Reference in a new issue