From 9221ca3054a40f1e2a77a2561cb69d9425d8be1d Mon Sep 17 00:00:00 2001 From: vent Date: Fri, 1 Nov 2024 22:55:11 +0000 Subject: [PATCH] Explicitly define zig-mode-hook Get zig-mode-hook to appear in the customize menu by explicitly defining it. This closes #36 --- zig-mode.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zig-mode.el b/zig-mode.el index dfccd3f..2068f89 100644 --- a/zig-mode.el +++ b/zig-mode.el @@ -36,6 +36,11 @@ :link '(url-link "https://ziglang.org/") :group 'languages) +(defcustom zig-mode-hook nil + "Hook called by `zig-mode'." + :type 'hook + :group 'zig-mode) + (defcustom zig-indent-offset 4 "Indent Zig code by this number of spaces." :type 'integer