Files
.emacs.d/core/siren-core-custom.el
Jim Myhrberg 1cb4369d6e Fix paste indenting issues with Makefiles
And also improve the siren custom options.
2019-08-17 17:33:24 +01:00

41 lines
1.2 KiB
EmacsLisp

;;; siren-core-custom.el --- jimeh's Emacs Siren: Siren's customizable variables.
;;; Commentary:
;; Refinements of the core editing experience in Emacs.
;;
;; Shamelessly ripped from Emacs Prelude.
;;; Code:
(defgroup siren nil
"Basic settings for Siren."
:group 'tools)
(defcustom siren-yank-indent-threshold 1000
"Threshold (# chars) over which indentation does not automatically occur."
:type 'number
:group 'siren)
(defcustom siren-indent-sensitive-modes
'(coffee-mode conf-mode haml-mode makefile-automake-mode makefile-bsdmake-mode
makefile-gmake-mode makefile-imake-mode makefile-makepp-mode
makefile-mode python-mode slim-mode yaml-mode)
"Major modes for which auto-indenting is suppressed."
:type '(repeat symbol)
:group 'siren)
(defcustom siren-yank-indent-modes '(LaTeX-mode TeX-mode)
"Major modes in which to indent regions that are yanked (or yank-popped).
Only modes that don't derive from `prog-mode' should be listed here."
:type '(repeat symbol)
:group 'siren)
(defcustom siren-transparency-level 99
"The default frame transparency level for Emacs frames."
:type 'number
:group 'siren)
(provide 'siren-core-custom)
;;; siren-core-custom.el ends here