Actions
Emacs¶
Emacs is an extensible, customizable free text editor—and more.
There are several ways to do the syntax highlighting.
- Download the 50scol.el file written in (E)Lisp.
- Copy it in /etc/emacs/site-start.d/ directory
- Add this line in your .emacs file :
(setq auto-mode-alist (cons '(*.pkg' . scol-mode) auto-mode-alist))
This file is in your home directory (on GNU/Linux) or in the hard disk root (on MS Windows). Create it otherwise. - Launch Emacs, you should read during the loading something like that :
Loading /etc/emacs/site-start.d/50scol.el (source)...done
- Open a package (*.pkg) to verify
Updated by iri about 12 years ago · 1 revisions