From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [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 8149415800A for ; Mon, 12 Jun 2023 16:24:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CF682E0903; Mon, 12 Jun 2023 16:24:07 +0000 (UTC) Received: from smtp.gentoo.org (dev.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B9298E0903 for ; Mon, 12 Jun 2023 16:24:07 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DFCA234131C for ; Mon, 12 Jun 2023 16:24:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 21D8CA90 for ; Mon, 12 Jun 2023 16:24:05 +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: <1686585119.b2ae3184ccfcb1ff932f207ca432ebbf964de0c1.ulm@gentoo> Subject: [gentoo-commits] proj/eselect:master commit in: /, misc/ X-VCS-Repository: proj/eselect X-VCS-Files: ChangeLog misc/eselect-mode.el X-VCS-Directories: / misc/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: b2ae3184ccfcb1ff932f207ca432ebbf964de0c1 X-VCS-Branch: master Date: Mon, 12 Jun 2023 16:24:05 +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: 7aa2749d-ce39-4518-947c-b204d2d5264d X-Archives-Hash: c7dd1e393d5cecdeb7904d4143b94e06 commit: b2ae3184ccfcb1ff932f207ca432ebbf964de0c1 Author: Ulrich Müller gentoo org> AuthorDate: Mon Jun 12 15:51:59 2023 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Mon Jun 12 15:51:59 2023 +0000 URL: https://gitweb.gentoo.org/proj/eselect.git/commit/?id=b2ae3184 eselect-mode: Drop XEmacs compatibility code * misc/eselect-mode.el (eselect-mode): Drop XEmacs compatibility code. Signed-off-by: Ulrich Müller gentoo.org> ChangeLog | 3 +++ misc/eselect-mode.el | 5 +---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index fd75fe3..a5532ba 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2023-06-12 Ulrich Müller + * misc/eselect-mode.el (eselect-mode): Drop XEmacs compatibility + code. + * misc/eselect-mode.el (eselect, eselect-mode-fix-whitespace) (eselect-mode-update-copyright): New custom group and variables. (eselect-mode-copyright-regexp): New variable. diff --git a/misc/eselect-mode.el b/misc/eselect-mode.el index d2df858..bfcf494 100644 --- a/misc/eselect-mode.el +++ b/misc/eselect-mode.el @@ -143,10 +143,7 @@ ;;;###autoload (define-derived-mode eselect-mode shell-script-mode "Eselect" "Major mode for .eselect files." - (if (not (featurep 'xemacs)) - (add-hook 'write-contents-functions 'eselect-mode-before-save t t) - (make-local-hook 'write-contents-hooks) - (add-hook 'write-contents-hooks 'eselect-mode-before-save t t)) + (add-hook 'write-contents-functions 'eselect-mode-before-save t t) (sh-set-shell "bash") (setq tab-width 4) (setq indent-tabs-mode t))