;;============================================================================== ;; SGML ;;============================================================================== ;; Just because XML is ugly. (add-hook-and-eval 'sgml-mode-hook (lambda () (setq sgml-xml-mode t) (turn-off-auto-fill) (toggle-truncate-lines))) ;; We redefine sgml-calculate-indent to remove alignment. (defun sgml-calculate-indent (&optional lcon) "Calculate the column to which this line should be indented. LCON is the lexical context, if any." (unless lcon (setq lcon (sgml-lexical-context))) ;; Indent comment-start markers inside