Nsi-mode for emacs: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Updated author and download links, and changed format of some pages.)
m (Updated author links.)
Line 1: Line 1:
{|align=right
|<small>Author: [[{{ns:2}}:hansvandam|hansvandam]] ([[{{ns:3}}:hansvandam|talk]], [[{{ns:-1}}:Contributions/hansvandam|contrib]])</small>
|}
<br style="clear:both;">
== Links ==
== Links ==
download nsi-mode.el [http://www.xs4all.nl/%7Ehdam/nsi-mode.el here]
download nsi-mode.el [http://www.xs4all.nl/%7Ehdam/nsi-mode.el here]
Line 15: Line 19:


then you can compile your nsi files in emacs with Ctrl-F9.
then you can compile your nsi files in emacs with Ctrl-F9.
Page author: [[User:hansvandam|hansvandam]]

Revision as of 03:01, 30 April 2005

Author: hansvandam (talk, contrib)


Links

download nsi-mode.el here

Description

just add the following lines (with the right paths) to your .emacs file:

(autoload 'nsi-mode "nsi-mode" "nsi editing mode." t)
(setq auto-mode-alist (cons '("\\.nsi$" . nsi-mode) auto-mode-alist))

and put nsi-mode.el somewhere in your load-path variable e.g. I have a load path set as :

(defvar extra-stuff-path "c:/extra" "defines the extra path")
(setq load-path (cons extra-stuff-path load-path)

then you can compile your nsi files in emacs with Ctrl-F9.