Subject: emacs/lisp/emacs-lisp/derived.el patch

From: [email-masked]
Date: Thu, 03 Mar 2022 11:45:21 -0500

Dear developers/maintainers,

When running "jdee-mode" from Melpa, without the patch, it will create
erorrs on the "mode" undefined. I found it is caused by this quoted
function.

Please let me know if it is a suitable patch.

Best,
Tongjie
--- derived.el	2022-03-03 11:33:56.101116071 -0500
+++ derived.el-patched	2022-03-03 11:36:39.306232391 -0500
@@ -404,7 +404,7 @@
       t
     (eval `(defvar ,(derived-mode-abbrev-table-name mode)
 	     (progn
-	       (define-abbrev-table (derived-mode-abbrev-table-name mode) nil)
+	       ,(define-abbrev-table (derived-mode-abbrev-table-name mode) nil)
 	       (make-abbrev-table))
 	     ,(format "Abbrev table for %s." mode)))))