Subject: makefile-gmake-mode does not trigger "eval-after-load"'s hooks
From: Konstantin Kharlamov <[email-masked]>
To: [email-masked]
Date: Wed, 03 Jun 2020 11:19:01 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

Functions added with (eval-after-load 'makefile-gmake-mode …) do not
trigger when the mode is enabled

# Steps to reproduce:

1. Run: emacs -Q --eval '(eval-after-load 'makefile-gmake-mode '(save-
buffers-kill-emacs))'
2. In Emacs window opened execute: M-x makefile-gmake-mode

## Expected

Emacs quits (because the save-buffers-kill-emacs gets executed)

## Actual

Mode gets enabled, but nothing happens otherwise.

# Version

GNU Emacs 27.0.50 (build 15, x86_64-pc-linux-gnu, GTK+ Version 3.24.20,
cairo version 1.17.3) of 2020-06-01