wok-next annotate emacs-pkg-lua-mode/stuff/90-lua-mode.el @ rev 6372
Up: squashfs to 4.1. Doesn't need lzma.u patch anymore.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Sep 21 10:52:22 2010 +0000 (2010-09-21) |
parents | 6aae08641f1e |
children | 755fb3544005 |
rev | line source |
---|---|
domcox@3938 | 1 ;; lua-mode start file for SliTaz |
domcox@3939 | 2 ;; Last update: 2009-08-22 |
domcox@3938 | 3 ;; |
domcox@3938 | 4 ;; To set up Emacs to automatically edit files ending in .lua using Lua-mode |
domcox@3938 | 5 |
domcox@3938 | 6 (setq auto-mode-alist (cons '("\\.lua$" . lua-mode) auto-mode-alist)) |
domcox@3938 | 7 (autoload 'lua-mode "lua-mode" "Lua editing mode." t) |
domcox@3938 | 8 |
domcox@3938 | 9 ;; If you want colorization, turn on global-font-lock or add this: |
domcox@3938 | 10 |
domcox@3938 | 11 (add-hook 'lua-mode-hook 'turn-on-font-lock) |
domcox@3938 | 12 |
domcox@3938 | 13 ;; If you want to use hideshow, turn on hs-minor-mode or add this: |
domcox@3938 | 14 |
domcox@3938 | 15 (add-hook 'lua-mode-hook 'hs-minor-mode) |
domcox@3939 | 16 |
domcox@3939 | 17 ;; |
domcox@3939 | 18 |