wok diff emacs-pkg-lua-mode/stuff/90-lua-mode.el @ rev 14794
catfish: fix genpkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 08 20:42:48 2013 +0000 (2013-07-08) |
parents | 4cf5da7c32ac |
children |
line diff
1.1 --- a/emacs-pkg-lua-mode/stuff/90-lua-mode.el Sat Aug 22 11:15:56 2009 +0200 1.2 +++ b/emacs-pkg-lua-mode/stuff/90-lua-mode.el Mon Jul 08 20:42:48 2013 +0000 1.3 @@ -1,18 +1,10 @@ 1.4 ;; lua-mode start file for SliTaz 1.5 -;; Last update: 2009-08-22 1.6 +;; Last update: 2013-02-08 1.7 ;; 1.8 -;; To set up Emacs to automatically edit files ending in .lua using Lua-mode 1.9 +;; To set up Emacs to automatically edit files ending in .lua using Lua-mode 1.10 1.11 -(setq auto-mode-alist (cons '("\\.lua$" . lua-mode) auto-mode-alist)) 1.12 (autoload 'lua-mode "lua-mode" "Lua editing mode." t) 1.13 +(add-to-list 'auto-mode-alist '("\\.lua$" . lua-mode)) 1.14 +(add-to-list 'interpreter-mode-alist '("lua" . lua-mode)) 1.15 1.16 -;; If you want colorization, turn on global-font-lock or add this: 1.17 1.18 -(add-hook 'lua-mode-hook 'turn-on-font-lock) 1.19 - 1.20 -;; If you want to use hideshow, turn on hs-minor-mode or add this: 1.21 - 1.22 -(add-hook 'lua-mode-hook 'hs-minor-mode) 1.23 - 1.24 -;; 1.25 -