branch: elpa/crux commit aafcf48fe9c5ec381ef5552e645dc8048e992249 Author: Bozhidar Batsov <bozhi...@batsov.com> Commit: Bozhidar Batsov <bozhi...@batsov.com>
Introduce some customization options --- crux.el | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/crux.el b/crux.el index 64120f6..67d450d 100644 --- a/crux.el +++ b/crux.el @@ -37,6 +37,17 @@ (require 'thingatpt) (require 'seq) +(defgroup crux nil + "crux configuration." + :prefix "crux-" + :group 'convenience) + +(defcustom crux-indent-sensitive-modes + '(conf-mode coffee-mode haml-mode python-mode slim-mode yaml-mode) + "Modes for which auto-indenting is suppressed." + :type 'list + :group 'crux) + (defun crux-open-with (arg) "Open visited file in default external program. When in dired mode, open file under the cursor.