From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (unknown [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A132115802E for ; Tue, 25 Jun 2024 16:22:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 88476E2A88; Tue, 25 Jun 2024 16:22:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6C570E2A88 for ; Tue, 25 Jun 2024 16:22:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A4DC0335D6E for ; Tue, 25 Jun 2024 16:22:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0F0C6126B for ; Tue, 25 Jun 2024 16:22:31 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1719332537.82c3466a807e5abee45946b6b161805c4e7e153f.ulm@gentoo> Subject: [gentoo-commits] repo/proj/emacs:master commit in: app-emacs/ebuild-mode/files/ X-VCS-Repository: repo/proj/emacs X-VCS-Files: app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el X-VCS-Directories: app-emacs/ebuild-mode/files/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 82c3466a807e5abee45946b6b161805c4e7e153f X-VCS-Branch: master Date: Tue, 25 Jun 2024 16:22:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8b03ca8f-146c-40b5-9c98-44008d174ae7 X-Archives-Hash: 82f6e0f30fd8d9af03aa015a794d8be4 commit: 82c3466a807e5abee45946b6b161805c4e7e153f Author: Ulrich Müller gentoo org> AuthorDate: Tue Jun 25 16:22:17 2024 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Tue Jun 25 16:22:17 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/emacs.git/commit/?id=82c3466a app-emacs/ebuild-mode: Update site-init file Signed-off-by: Ulrich Müller gentoo.org> app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el b/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el index 06ae544..567e02d 100644 --- a/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el +++ b/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el @@ -1,6 +1,8 @@ (add-to-list 'load-path "@SITELISP@") (autoload 'ebuild-mode "ebuild-mode" - "Major mode for Portage .ebuild and .eclass files." t) + "Major mode for Gentoo .ebuild files." t) +(autoload 'ebuild-eclass-mode "ebuild-mode" + "Major mode for Gentoo .eclass files." t) (autoload 'ebuild-repo-mode "ebuild-mode" "Minor mode for files in an ebuild repository." t) (autoload 'ebuild-repo-mode-maybe-enable "ebuild-mode") @@ -11,7 +13,8 @@ (autoload 'glep-mode "glep-mode" "Major mode for Gentoo Linux Enhancement Proposals." t) -(add-to-list 'auto-mode-alist '("\\.\\(ebuild\\|eclass\\)\\'" . ebuild-mode)) +(add-to-list 'auto-mode-alist '("\\.ebuild\\'" . ebuild-mode)) +(add-to-list 'auto-mode-alist '("\\.eclass\\'" . ebuild-eclass-mode)) (add-to-list 'auto-mode-alist '("/devmanual.*\\.xml\\'" . devbook-mode)) (add-to-list 'auto-mode-alist '("/[0-9]\\{4\\}-[01][0-9]-[0-3][0-9]-.+\\.[a-z]\\{2\\}\\.txt\\'"