Skip to content
This repository
tag: RELEASE_4_5_0
Fetching contributors…

Cannot retrieve contributors at this time

file 27 lines (24 sloc) 0.843 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
;;; Emacs support for working on the source code of the Parrot virtual
;;; machine.
;;
;; Note that the support for editing pasm files is currently in the separate
;; file "pasm.el". This file is for editing the Parrot VM source.
;;
;; To use this file, copy it to a known location and add this statement to
;; your .emacs file:
;;
;; (load-file "/known/location/parrot.el")
;;

(c-add-style "parrot"
'("stroustrup"
(indent-tabs-mode . nil)
(fill-column . 100)
(c-offsets-alist . (
(label . *)
(access-label . *)
(case-label . *)
(statement-case-intro . *)
(inextern-lang . 0)
))))

(setq auto-mode-alist (cons '("\\.pmc$" . c-mode) auto-mode-alist))

(setq auto-mode-alist (cons '("\\.ops$" . perl-mode) auto-mode-alist))
Something went wrong with that request. Please try again.