From e9a94db05e45be9357ccc757601c1cd890a6254c Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 25 Sep 2022 22:57:27 -0700 Subject: [PATCH] =?UTF-8?q?Send=20error=20output=20to=20=E2=80=98/dev/null?= =?UTF-8?q?=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Latest Emacs development version seems to complain that ‘vc-mtn’ is deprecated, but I don't use it and it interferes with the function of this script. --- inbox-size | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inbox-size b/inbox-size index 113715a..6d3a64f 100755 --- a/inbox-size +++ b/inbox-size @@ -5,4 +5,5 @@ exec scsh -s "$0" "$@" !# (run (emacs --quick --batch --visit ~/documents/gtd/inbox.org - --eval "(princ (how-many (rx bol \"*\" (one-or-more space))))")) + --eval "(princ (how-many (rx bol \"*\" (one-or-more space))))") + (> 2 /dev/null))