forked from clconway/cvc3-debian
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cvc3-el.emacsen-startup
26 lines (24 loc) · 1.08 KB
/
cvc3-el.emacsen-startup
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
;; -*-emacs-lisp-*-
;;
;; Emacs startup file for the Debian cvc3-el package
;;
;; Based on cmuscheme48-el.emacsen-startup by:
;; Nils Naumann <[email protected]>
;; Dirk Eddelbuettel <[email protected]>
;; Jim Van Zandt <[email protected]>
;;
;; Modified for cvc3-el by Christopher Conway <[email protected]>
;; The package follows the Debian/GNU Linux 'emacsen' policy and
;; byte-compiles its elisp files for each 'emacs flavor' (emacs19,
;; xemacs19, emacs20, xemacs20...). The compiled code is then
;; installed in a subdirectory of the respective site-lisp
;; directory. We have to add this to the load-path. We also add the
;; source directory so that C-h f can find it.
(let* ((package-dir (concat "/usr/share/"
(symbol-name debian-emacs-flavor)
"/site-lisp/cvc3-el")))
(when (file-directory-p package-dir)
(debian-pkg-add-load-path-item package-dir)
(autoload 'cvc-mode "cvc-mode" "CVC specifications editing mode." t)
(setq auto-mode-alist
(append (list '("\\.cvc$" . cvc-mode)) auto-mode-alist))))