wok-next annotate emacs-pkg-lua-mode/stuff/90-lua-mode.el @ rev 9992
vorbis-tools: fix bdeps (again)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 19 00:36:16 2011 +0200 (2011-05-19) |
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 |