I was trying to include a bullet in the margin for all sections in a document, but KOMA commands only seem to influence numbered sections, not the unnumbered ones. Am I missing something here? (All sections will be unnumbered in the end, with just a bullet. )
\documentclass{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage{xcolor}
\renewcommand*{\sectionformat}{%
\makebox[0pt][r]{\textcolor{gray}{\textbullet}~}}
\begin{document}
\section{Section}
\section*{Unnumbered section}
\end{document}