mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
28 lines
693 B
EmacsLisp
28 lines
693 B
EmacsLisp
;;; siren-makefile.el --- jimeh's Emacs Siren: makefile-mode configuration.
|
|
|
|
;;; Commentary:
|
|
|
|
;; Basic configuration for makefile-mode.
|
|
|
|
;;; Code:
|
|
|
|
(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)
|
|
;;; siren-makefile.el ends here
|