carbon2-commit: Import special-mode from GNU Emacs.