Nsi-mode for emacs: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Added category links.)
m (Adding new author and category links.)
Line 1: Line 1:
{|align=right
{{PageAuthor|hansvandam}}
|<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 20: Line 18:
then you can compile your nsi files in emacs with Ctrl-F9.
then you can compile your nsi files in emacs with Ctrl-F9.


[[{{ns:14}}:Related Software]]
[[Category:Related Software]]

Revision as of 13:32, 24 June 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.