mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
24 lines
533 B
EmacsLisp
24 lines
533 B
EmacsLisp
;;
|
|
;; makefile
|
|
;;
|
|
|
|
(require 'siren-programming)
|
|
|
|
(add-to-list 'siren-yank-indent-modes 'makefile-mode)
|
|
|
|
(defun siren-makefile-mode-defaults ()
|
|
(siren-prog-mode-defaults)
|
|
(subword-mode)
|
|
(setq tab-width 4)
|
|
(setq highlight-indentation-offset 4)
|
|
(highlight-indentation-mode)
|
|
(highlight-indentation-current-column-mode))
|
|
|
|
(setq siren-makefile-mode-hook 'siren-makefile-mode-defaults)
|
|
|
|
(add-hook 'makefile-mode-hook (lambda ()
|
|
(run-hooks 'siren-makefile-mode-hook)))
|
|
|
|
|
|
(provide 'siren-makefile)
|