summaryrefslogtreecommitdiff
path: root/.config/emacs
diff options
context:
space:
mode:
Diffstat (limited to '.config/emacs')
-rw-r--r--.config/emacs/early-init.el3
-rw-r--r--.config/emacs/modules/mm-editing.el2
2 files changed, 4 insertions, 1 deletions
diff --git a/.config/emacs/early-init.el b/.config/emacs/early-init.el
index fb2625a..1b78baf 100644
--- a/.config/emacs/early-init.el
+++ b/.config/emacs/early-init.el
@@ -43,6 +43,9 @@
(defconst mm-darwin-p (eq system-type 'darwin)
"This variable is non-nil if Emacs is running on a Darwin system.")
+(defconst mm-humanwave-p (file-exists-p "~/.humanwavep")
+ "This variable is non-nil if Emacs is running on a Humanwave system.")
+
;;; Basic Frame Settings
diff --git a/.config/emacs/modules/mm-editing.el b/.config/emacs/modules/mm-editing.el
index 40511cc..5072366 100644
--- a/.config/emacs/modules/mm-editing.el
+++ b/.config/emacs/modules/mm-editing.el
@@ -42,7 +42,7 @@
(setq-default
tab-width 4
- indent-tabs-mode t)
+ indent-tabs-mode (not mm-humanwave-p))
(defvar mm-editing-indentation-settings-alist
'((c-mode . (:extras c-basic-offset))