branch: elpa/lua-mode
commit b33f255b1d263b2f6e551aadb8fb78ee7a83c1c4
Author: Reuben Thomas <[email protected]>
Commit: Reuben Thomas <[email protected]>

    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