Function: git-commit-elisp-text-mode

git-commit-elisp-text-mode is an interactive and natively 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

This command is not in any keymaps.

Source Code

;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/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)))