From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 finch.gentoo.org (Postfix) with ESMTPS id 9B9F8158074 for ; Sat, 28 Jun 2025 17:58:14 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 889EB340D9E for ; Sat, 28 Jun 2025 17:58:14 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id A3BE611055B; Sat, 28 Jun 2025 17:58:10 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 9EDAA11055B for ; Sat, 28 Jun 2025 17:58:10 +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 5580B340D2B for ; Sat, 28 Jun 2025 17:58:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BD0BC2AF8 for ; Sat, 28 Jun 2025 17:58:08 +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: <1751132844.04343fac445aa78f3a5e3851f6dc5095313eb178.ulm@gentoo> Subject: [gentoo-commits] proj/emacs-tools:emacs-common commit in: / X-VCS-Repository: proj/emacs-tools X-VCS-Files: ChangeLog emacs.initd X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 04343fac445aa78f3a5e3851f6dc5095313eb178 X-VCS-Branch: emacs-common Date: Sat, 28 Jun 2025 17:58:08 +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: c1faa4bc-fbc5-47f4-9147-6047413efc86 X-Archives-Hash: 3a7f70809ef16affb266dafd2e289c3d commit: 04343fac445aa78f3a5e3851f6dc5095313eb178 Author: Ulrich Müller gentoo org> AuthorDate: Sat Jun 28 17:47:24 2025 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat Jun 28 17:47:24 2025 +0000 URL: https://gitweb.gentoo.org/proj/emacs-tools.git/commit/?id=04343fac Posixify the init script * emacs.initd (start_pre): POSIX shell does not support "local". Signed-off-by: Ulrich Müller gentoo.org> ChangeLog | 4 ++++ emacs.initd | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index e9b1c1e..a5088d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2025-06-28 Ulrich Müller + + * emacs.initd (start_pre): POSIX shell does not support "local". + 2025-03-17 Ulrich Müller * Makefile (DISTFILES): Add ChangeLog. diff --git a/emacs.initd b/emacs.initd index 2a7c145..392ae66 100644 --- a/emacs.initd +++ b/emacs.initd @@ -23,9 +23,8 @@ start_pre() { # and would therefore hang, waiting for user interaction. # Redirecting stdin and unsetting TERM and DISPLAY will cause most # of them to exit with an error. - local has_daemon=$(unset TERM DISPLAY; ${EMACS} -batch -q --no-site-file \ - --eval "(princ (fboundp 'daemonp))"