From: Lars Ingebrigtsen Date: Fri, 4 Mar 2022 15:19:42 +0000 (+0100) Subject: Fix regression in derived-mode-init-mode-variables X-Git-Tag: emacs-28.0.92~12 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3bb01a499b;p=emacs.git Fix regression in derived-mode-init-mode-variables * lisp/emacs-lisp/derived.el (derived-mode-init-mode-variables): Fix regression caused by lexical-binding derived.el (bug#54240). --- diff --git a/lisp/emacs-lisp/derived.el b/lisp/emacs-lisp/derived.el index dd386f14b7a..72f49bf3baf 100644 --- a/lisp/emacs-lisp/derived.el +++ b/lisp/emacs-lisp/derived.el @@ -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)))))