13
13
;; installed in a subdirectory of the respective site-lisp directory.
14
14
;; We have to add this to the load-path:
15
15
(let ((package-dir (concat "/usr/share/"
17
17
"/site-lisp/#PACKAGE#")))
18
18
;; If package-dir does not exist, the #PACKAGE# package must have
19
19
;; removed but not purged, and we should skip the setup.
20
20
(when (file-directory-p package-dir)
22
24
(autoload '#PACKAGE#-mode "#PACKAGE#-mode"
23
25
"Major mode for editing #PACKAGE# files." t)
24
26
(add-to-list 'auto-mode-alist '("\\.#PACKAGE#$" . #PACKAGE#-mode))))