Function: git-commit-elisp-text-mode

git-commit-elisp-text-mode is an interactive and byte-compiled function defined in git-commit.el.

Signature

(git-commit-elisp-text-mode)

Documentation

Major mode for editing commit messages of elisp projects.

This is intended for use as git-commit-major-mode for projects that expect symbols to look like this. I.e., like they look in Elisp doc-strings, including this one. Unlike in doc-strings,
"strings" also look different than the other text.

In addition to any hooks its parent mode text-mode might have run, this mode runs the hook git-commit-elisp-text-mode-hook, as the final or penultimate step during initialization.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/git-commit.el
;;; Elisp Text Mode

(define-derived-mode git-commit-elisp-text-mode text-mode "ElText"
  "Major mode for editing commit messages of elisp projects.
This is intended for use as `git-commit-major-mode' for projects
that expect `symbols' to look like this.  I.e., like they look in
Elisp doc-strings, including this one.  Unlike in doc-strings,
\"strings\" also look different than the other text."
  (setq font-lock-defaults '(git-commit-elisp-text-mode-keywords)))