mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
When yank-indent-mode is enabled, yanked (pasted) text is indented based on the indent rules of the current major mode. It has a global-yank-indent-mode too which by default excludes a long list of known indentation sensitive modes with which this approach does not work very well. It is based on some random hacky snippets elisp I've been using for over a decade. Said snippets are themselves based on some random snippets I found online, and since morphed into the weird monster they had become.
22 lines
477 B
EmacsLisp
22 lines
477 B
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-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
|