emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/lua-mode aedf8a5 018/468: Documentation in restructured te


From: Philip Kaludercic
Subject: [nongnu] elpa/lua-mode aedf8a5 018/468: Documentation in restructured text
Date: Thu, 5 Aug 2021 04:58:00 -0400 (EDT)

branch: elpa/lua-mode
commit aedf8a57d04b9a8e64ac3a8c8c6244dcfb34c908
Author: juergen <juergen>
Commit: juergen <juergen>

    Documentation in restructured text
---
 install.rst | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/install.rst b/install.rst
new file mode 100755
index 0000000..c2b1fc8
--- /dev/null
+++ b/install.rst
@@ -0,0 +1,23 @@
+=============================
+ Lua-mode
+=============================
+
+:Author: Jürgen Hötzel
+:Contact: juergen@hoetzel.info
+
+.. contents::
+
+INSTALLATION
+------------
+To install, just drop ``lua-mode.el`` into a directory on your ``load-path`` 
(and optionally 
+byte-compile it).  
+
+To set up Emacs to automatically edit files ending in .lua using Lua-mode add 
the following to your ``~/.emacs`` file (GNU
+Emacs) or ``~/.xemacs/init.el`` file (XEmacs)::
+
+(setq auto-mode-alist (cons '("\\.lua$" . lua-mode) auto-mode-alist))
+(autoload 'lua-mode "lua-mode" "Lua editing mode." t)
+
+If you want colorization, turn on ``global-font-lock`` or add this::
+
+(add-hook 'lua-mode-hook 'turn-on-font-lock)
\ No newline at end of file



reply via email to

[Prev in Thread] Current Thread [Next in Thread]