aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/cmt/files/80cmt-mode-gentoo.el')
-rw-r--r--dev-util/cmt/files/80cmt-mode-gentoo.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-util/cmt/files/80cmt-mode-gentoo.el b/dev-util/cmt/files/80cmt-mode-gentoo.el
new file mode 100644
index 000000000..20131f4a8
--- /dev/null
+++ b/dev-util/cmt/files/80cmt-mode-gentoo.el
@@ -0,0 +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))
+