diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2008-10-13 22:09:40 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2008-10-13 22:09:40 +0000 |
commit | 064dac121d02426a9e861251568ea87007406931 (patch) | |
tree | 1161fa73282b3b8ac9b2f202aaea2e800680dae4 /dev-util/cmt/files | |
parent | Fix compile errors when ipv6 support is disabled (#241718). (diff) | |
download | gentoo-2-064dac121d02426a9e861251568ea87007406931.tar.gz gentoo-2-064dac121d02426a9e861251568ea87007406931.tar.bz2 gentoo-2-064dac121d02426a9e861251568ea87007406931.zip |
Fixed emacs site file and emacs file installation, thanks to ulm, closing bug #241588.
(Portage version: 2.2_rc11/cvs/Linux 2.6.25-gentoo-r7 x86_64)
Diffstat (limited to 'dev-util/cmt/files')
-rw-r--r-- | dev-util/cmt/files/80cmt-mode-gentoo.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dev-util/cmt/files/80cmt-mode-gentoo.el b/dev-util/cmt/files/80cmt-mode-gentoo.el index 20131f4a8d46..91be98ebc614 100644 --- a/dev-util/cmt/files/80cmt-mode-gentoo.el +++ b/dev-util/cmt/files/80cmt-mode-gentoo.el @@ -1,6 +1,6 @@ -;; Automatically load the CMT mode. -(autoload 'cmt-mode "cmt-mode" "CMT requirements file editing mode." t) -(setq auto-mode-alist - (append (list (cons "requirements$" 'cmt-mode)) auto-mode-alist)) +;;; cmt site-lisp configuration +(add-to-list 'load-path "@SITELISP@") +(autoload 'cmt-mode "cmt-mode" "CMT requirements file editing mode." t) +(add-to-list 'auto-mode-alist '("requirements\\'" . cmt-mode)) |