summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-10-12 23:02:17 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-10-12 23:40:31 +0200
commit961c396a8637768777ff6f3f0bf03a2d5554286c (patch)
tree778d1b0cda926a157581e63530186b5438cc9b6e /app-emacs
parentdev-python/python-docs: Stabilize 3.8.15 amd64, #876811 (diff)
downloadgentoo-961c396a8637768777ff6f3f0bf03a2d5554286c.tar.gz
gentoo-961c396a8637768777ff6f3f0bf03a2d5554286c.tar.bz2
gentoo-961c396a8637768777ff6f3f0bf03a2d5554286c.zip
app-emacs/dockerfile-mode: sync autoloads - recognize Containerfile
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/dockerfile-mode/dockerfile-mode-1.6-r1.ebuild (renamed from app-emacs/dockerfile-mode/dockerfile-mode-1.6.ebuild)0
-rw-r--r--app-emacs/dockerfile-mode/dockerfile-mode-1.7-r1.ebuild (renamed from app-emacs/dockerfile-mode/dockerfile-mode-1.7.ebuild)0
-rw-r--r--app-emacs/dockerfile-mode/dockerfile-mode-1.8-r1.ebuild (renamed from app-emacs/dockerfile-mode/dockerfile-mode-1.8.ebuild)0
-rw-r--r--app-emacs/dockerfile-mode/files/50dockerfile-mode-gentoo.el6
4 files changed, 5 insertions, 1 deletions
diff --git a/app-emacs/dockerfile-mode/dockerfile-mode-1.6.ebuild b/app-emacs/dockerfile-mode/dockerfile-mode-1.6-r1.ebuild
index 8ac741485198..8ac741485198 100644
--- a/app-emacs/dockerfile-mode/dockerfile-mode-1.6.ebuild
+++ b/app-emacs/dockerfile-mode/dockerfile-mode-1.6-r1.ebuild
diff --git a/app-emacs/dockerfile-mode/dockerfile-mode-1.7.ebuild b/app-emacs/dockerfile-mode/dockerfile-mode-1.7-r1.ebuild
index 8ac741485198..8ac741485198 100644
--- a/app-emacs/dockerfile-mode/dockerfile-mode-1.7.ebuild
+++ b/app-emacs/dockerfile-mode/dockerfile-mode-1.7-r1.ebuild
diff --git a/app-emacs/dockerfile-mode/dockerfile-mode-1.8.ebuild b/app-emacs/dockerfile-mode/dockerfile-mode-1.8-r1.ebuild
index 8ac741485198..8ac741485198 100644
--- a/app-emacs/dockerfile-mode/dockerfile-mode-1.8.ebuild
+++ b/app-emacs/dockerfile-mode/dockerfile-mode-1.8-r1.ebuild
diff --git a/app-emacs/dockerfile-mode/files/50dockerfile-mode-gentoo.el b/app-emacs/dockerfile-mode/files/50dockerfile-mode-gentoo.el
index f4f04b32e72c..e2ec3ced9b78 100644
--- a/app-emacs/dockerfile-mode/files/50dockerfile-mode-gentoo.el
+++ b/app-emacs/dockerfile-mode/files/50dockerfile-mode-gentoo.el
@@ -1,5 +1,9 @@
(add-to-list 'load-path "@SITELISP@")
(autoload 'dockerfile-mode "dockerfile-mode"
"A major mode to edit Dockerfiles." t)
-(add-to-list 'auto-mode-alist '("/Dockerfile\\(?:\\.[^/\\]*\\)?\\'" . dockerfile-mode))
+(add-to-list 'auto-mode-alist
+ (cons (concat "[/\\]"
+ "\\(?:Containerfile\\|Dockerfile\\)"
+ "\\(?:\\.[^/\\]*\\)?\\'")
+ 'dockerfile-mode))
(add-to-list 'auto-mode-alist '("\\.dockerfile\\'" . dockerfile-mode))