]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix regression in derived-mode-init-mode-variables
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 4 Mar 2022 15:19:42 +0000 (16:19 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 4 Mar 2022 15:19:54 +0000 (16:19 +0100)
* lisp/emacs-lisp/derived.el (derived-mode-init-mode-variables):
Fix regression caused by lexical-binding derived.el (bug#54240).

lisp/emacs-lisp/derived.el

index dd386f14b7a3c7ad8b02bf0f6509018a8a511d25..72f49bf3baf69ca2966c418d63f8b04e082bf9d7 100644 (file)
@@ -409,7 +409,7 @@ the first time the mode is used."
       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)))))
 \f