diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2025-03-25 18:41:48 +0100 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2025-03-25 18:41:48 +0100 |
| commit | 6a695e68eb4de8775af09ebf24da08ea809f8abd (patch) | |
| tree | 4f8852e8384421b349611e978917dd15465ffd36 /lisp/git-commit.el | |
| parent | 280fa3ddab5da375ed977660674cfa1db680c901 (diff) | |
Use radio custom type to allow selecting a function
Diffstat (limited to 'lisp/git-commit.el')
| -rw-r--r-- | lisp/git-commit.el | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lisp/git-commit.el b/lisp/git-commit.el index fbd5aa3..e9e4c14 100644 --- a/lisp/git-commit.el +++ b/lisp/git-commit.el @@ -174,14 +174,14 @@ full loading." The major mode configured here is turned on by the minor mode `git-commit-mode'." :group 'git-commit - :type '(choice (function-item text-mode) - (function-item markdown-mode) - (function-item org-mode) - (function-item fundamental-mode) - (function-item log-edit-mode) - (function-item git-commit-elisp-text-mode) - (function :tag "Another mode") - (const :tag "No major mode"))) + :type '(radio (function-item text-mode) + (function-item markdown-mode) + (function-item org-mode) + (function-item fundamental-mode) + (function-item log-edit-mode) + (function-item git-commit-elisp-text-mode) + (function :tag "Another major mode") + (const :tag "No major mode"))) ;;;###autoload(put 'git-commit-major-mode 'safe-local-variable ;;;###autoload (lambda (val) ;;;###autoload (memq val '(text-mode |
