forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-lang/mozart: include site-lisp file to get Oz major modes.
Closes: https://bugs.gentoo.org/194604 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Keri Harris <[email protected]>
- Loading branch information
1 parent
e83d9b2
commit d48eb5d
Showing
2 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
;;; mozart site-lisp configuration | ||
|
||
(or (getenv "OZHOME") | ||
(setenv "OZHOME" "/usr")) | ||
(add-to-list 'load-path "@SITELISP@") | ||
(autoload 'run-oz' "oz" "Start Mozart as a sub-process" t) | ||
(autoload 'oz-mode "oz" "Major mode for editing Oz code." t) | ||
(autoload 'oz-gump-mode "oz" | ||
"Major mode for editing Oz code with embedded Gump specifications." t) | ||
(autoload 'ozm-mode "mozart" "Major mode for displaying Oz machine code." t) | ||
(add-to-list 'auto-mode-alist '("\\.oz$" . oz-mode)) | ||
(add-to-list 'auto-mode-alist '("\\.ozg$" . oz-gump-mode)) | ||
(add-to-list 'auto-mode-alist '("\\.ozm$" . ozm-mode)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters