From 4aa9db733730a6780c244fcaf6f51b73fd84777e Mon Sep 17 00:00:00 2001 From: Utkarsh Singh Date: Tue, 23 Feb 2021 16:41:14 +0100 Subject: [PATCH] Use sh-mode for PKGBUILD files * lisp/files.el (auto-mode-alist): Use sh-mode for PKGBUILD files (bug#46660). Copyright-paperwork-exempt: yes --- lisp/files.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/files.el b/lisp/files.el index 68e883513cb..68894ca2ce0 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -2723,6 +2723,7 @@ since only a single case-insensitive search through the alist is made." ("\\.scm\\.[0-9]*\\'" . scheme-mode) ("\\.[ckz]?sh\\'\\|\\.shar\\'\\|/\\.z?profile\\'" . sh-mode) ("\\.bash\\'" . sh-mode) + ("/PKGBUILD\\'" . sh-mode) ("\\(/\\|\\`\\)\\.\\(bash_\\(profile\\|history\\|log\\(in\\|out\\)\\)\\|z?log\\(in\\|out\\)\\)\\'" . sh-mode) ("\\(/\\|\\`\\)\\.\\(shrc\\|zshrc\\|m?kshrc\\|bashrc\\|t?cshrc\\|esrc\\)\\'" . sh-mode) ("\\(/\\|\\`\\)\\.\\([kz]shenv\\|xinitrc\\|startxrc\\|xsession\\)\\'" . sh-mode) -- 2.39.2