emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/lua-mode b33f255 154/468: Make lua-mode-hook customizable.


From: Philip Kaludercic
Subject: [nongnu] elpa/lua-mode b33f255 154/468: Make lua-mode-hook customizable.
Date: Thu, 5 Aug 2021 04:58:26 -0400 (EDT)

branch: elpa/lua-mode
commit b33f255b1d263b2f6e551aadb8fb78ee7a83c1c4
Author: Reuben Thomas <rrt@sc3d.org>
Commit: Reuben Thomas <rrt@sc3d.org>

    Make lua-mode-hook customizable.
---
 lua-mode.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/lua-mode.el b/lua-mode.el
index 3b6c6fc..b7a8ba9 100644
--- a/lua-mode.el
+++ b/lua-mode.el
@@ -238,8 +238,10 @@ traceback location."
   :type 'boolean
   :group 'lua)
 
-(defvar lua-mode-hook nil
-  "Hooks called when Lua mode fires up.")
+(defcustom lua-mode-hook nil
+  "Hooks called when Lua mode fires up."
+  :type 'hook
+  :group 'lua)
 
 (defvar lua-region-start (make-marker)
   "Start of special region for Lua communication.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]