wok-stable diff emacs-pkg-lua-mode/stuff/lua-mode-start.el @ rev 3938
emacs: up to 23.1
author | Dominique Corbex <domcox@users.sourceforge.net> |
---|---|
date | Fri Aug 21 21:49:57 2009 +0200 (2009-08-21) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/emacs-pkg-lua-mode/stuff/lua-mode-start.el Fri Aug 21 21:49:57 2009 +0200 1.3 @@ -0,0 +1,16 @@ 1.4 +;; lua-mode start file for SliTaz 1.5 +;; 1.6 +;; (C) GNU gpl v3 - SliTaz GNU/Linux 2009. 1.7 +;; 1.8 +;; To set up Emacs to automatically edit files ending in .lua using Lua-mode 1.9 + 1.10 +(setq auto-mode-alist (cons '("\\.lua$" . lua-mode) auto-mode-alist)) 1.11 +(autoload 'lua-mode "lua-mode" "Lua editing mode." t) 1.12 + 1.13 +;; If you want colorization, turn on global-font-lock or add this: 1.14 + 1.15 +(add-hook 'lua-mode-hook 'turn-on-font-lock) 1.16 + 1.17 +;; If you want to use hideshow, turn on hs-minor-mode or add this: 1.18 + 1.19 +(add-hook 'lua-mode-hook 'hs-minor-mode)