wok diff emacs-pkg-lua-mode/stuff/90-lua-mode.el @ rev 13057

mariadb: Fix WGET_URL (again)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Jun 20 16:39:21 2012 +0200 (2012-06-20)
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 Jun 20 16:39:21 2012 +0200
     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 +