From 4822d2179e6d5daa9fb203542003c7110a598c6c Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Thu, 25 Apr 2024 10:03:18 +1200 Subject: [PATCH] emacs: indent sgml files with spaces --- .emacs.d/init.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 0e8818e..668d029 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -60,6 +60,8 @@ (add-hook 'text-mode-hook 'hl-line-mode) (add-hook 'prog-mode-hook 'indent-tab-hook) +(add-hook 'sgml-mode-hook 'indent-spc-hook) + (defun lisp-hook () (indent-spc-hook) (keymap-local-set "C-c l" 'common-lisp-hyperspec))