wok-next diff emacs-pkg-lua-mode/stuff/90-lua-mode.el @ rev 4612
improve post_remove libv4l
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Wed Dec 16 19:26:37 2009 +0000 (2009-12-16) |
parents | 6aae08641f1e |
children | 755fb3544005 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/emacs-pkg-lua-mode/stuff/90-lua-mode.el Wed Dec 16 19:26:37 2009 +0000 1.3 @@ -0,0 +1,18 @@ 1.4 +;; lua-mode start file for SliTaz 1.5 +;; Last update: 2009-08-22 1.6 +;; 1.7 +;; To set up Emacs to automatically edit files ending in .lua using Lua-mode 1.8 + 1.9 +(setq auto-mode-alist (cons '("\\.lua$" . lua-mode) auto-mode-alist)) 1.10 +(autoload 'lua-mode "lua-mode" "Lua editing mode." t) 1.11 + 1.12 +;; If you want colorization, turn on global-font-lock or add this: 1.13 + 1.14 +(add-hook 'lua-mode-hook 'turn-on-font-lock) 1.15 + 1.16 +;; If you want to use hideshow, turn on hs-minor-mode or add this: 1.17 + 1.18 +(add-hook 'lua-mode-hook 'hs-minor-mode) 1.19 + 1.20 +;; 1.21 +