emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/crux aafcf48 009/112: Introduce some customization options


From: ELPA Syncer
Subject: [nongnu] elpa/crux aafcf48 009/112: Introduce some customization options
Date: Wed, 11 Aug 2021 09:57:43 -0400 (EDT)

branch: elpa/crux
commit aafcf48fe9c5ec381ef5552e645dc8048e992249
Author: Bozhidar Batsov <bozhidar@batsov.com>
Commit: Bozhidar Batsov <bozhidar@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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]