chiark / gitweb /
el/dot-emacs.el: Configure the default CSS indentation.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 23 Jan 2019 17:26:02 +0000 (17:26 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 23 Jan 2019 17:26:35 +0000 (17:26 +0000)
Why have I only just noticed that this was silly?

el/dot-emacs.el

index be340d4bb11340332972bb5cc60ea07df66cdd2f..39ffa6f919db56b331c090b1d0327878374ed11c 100644 (file)
@@ -3509,6 +3509,11 @@ (eval-after-load 'font-latex
 (setq LaTeX-syntactic-comments nil
       LaTeX-fill-break-at-separators '(\\\[))
 
+;;;--------------------------------------------------------------------------
+;;; HTML, CSS, and other web foolishness.
+
+(setq css-indent-offset 2)
+
 ;;;--------------------------------------------------------------------------
 ;;; SGML hacking.