aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2022-09-25 22:57:27 -0700
committerGravatar Tom Willemse2022-09-25 22:57:27 -0700
commite9a94db05e45be9357ccc757601c1cd890a6254c (patch)
tree08b440817f2cc71cb124849201b1d9bf6ae7818f
parent6e137bb1c94637b15cdc9ae1f14b5d06226d854d (diff)
downloadinbox-size-e9a94db05e45be9357ccc757601c1cd890a6254c.tar.gz
inbox-size-e9a94db05e45be9357ccc757601c1cd890a6254c.zip
Send error output to ‘/dev/null’
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.
-rwxr-xr-xinbox-size3
1 files changed, 2 insertions, 1 deletions
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))