Nsi-mode for emacs: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Updated author links.)
m (Added category links.)
Line 19: 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.
[[{{ns:14}}:Related Software]]

Revision as of 21: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.