Subject: 28.0.50; Derive gnus-edit-form-mode from lisp-data-mode

From: Eric Abrahamsen <[email-masked]>
Date: Sat, 06 Jun 2020 12:23:52 -0700

Hopefully this is fairly uncontroversial: Gnus has a gnus-edit-form-mode
for editing group parameters and other things, which presents the data
as elisp forms and is a perfect use-case for lisp-data-mode -- turning
on paredit or what have you. This patch derives the former from the
latter.

Eric

>From c8785b43abf7db5721950001e93f5a0c57b76d28 Mon Sep 17 00:00:00 2001
From: Eric Abrahamsen <[email-masked]>
Date: Sat, 6 Jun 2020 12:13:15 -0700
Subject: [PATCH] Derive gnus-edit-form-mode from lisp-data-mode

* lisp/gnus/gnus-eform.el (gnus-edit-form-mode): Handy for users who
have turned on things like paredit for lisp-data-mode.
---
 lisp/gnus/gnus-eform.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/gnus/gnus-eform.el b/lisp/gnus/gnus-eform.el
index 54118aad1e..ee573fb736 100644
--- a/lisp/gnus/gnus-eform.el
+++ b/lisp/gnus/gnus-eform.el
@@ -67,9 +67,9 @@ gnus-edit-form-make-menu-bar
        ["Exit" gnus-edit-form-exit t]))
     (gnus-run-hooks 'gnus-edit-form-menu-hook)))
 
-(define-derived-mode gnus-edit-form-mode fundamental-mode "Edit Form"
+(define-derived-mode gnus-edit-form-mode lisp-data-mode "Edit Form"
   "Major mode for editing forms.
-It is a slightly enhanced emacs-lisp-mode.
+It is a slightly enhanced `lisp-data-mode'.
 
 \\{gnus-edit-form-mode-map}"
   (when (gnus-visual-p 'group-menu 'menu)
-- 
2.27.0