summaryrefslogtreecommitdiffhomepage
path: root/lib/eos/jao-shell.el
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2026-09-06 15:36:38 +0100
committerjao <jao@gnu.org>2026-09-06 15:36:38 +0100
commit0f8eb65fb807a125dd601cd6b3ee746e6c7b6020 (patch)
tree1d394cf0023d0d4e9df41a28c1d4376769c91d77 /lib/eos/jao-shell.el
parent21c34f24c110e57a6c90126c87fee9cd71e85817 (diff)
downloadelibs-0f8eb65fb807a125dd601cd6b3ee746e6c7b6020.tar.gz
elibs-0f8eb65fb807a125dd601cd6b3ee746e6c7b6020.tar.bz2
a slew of little fixes courtesy of the byte compiler
Diffstat (limited to 'lib/eos/jao-shell.el')
-rw-r--r--lib/eos/jao-shell.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/eos/jao-shell.el b/lib/eos/jao-shell.el
index 86bf46b..e13e07f 100644
--- a/lib/eos/jao-shell.el
+++ b/lib/eos/jao-shell.el
@@ -1,6 +1,6 @@
;;; jao-shell.el --- shell utils -*- lexical-binding: t; -*-
-;; Copyright (C) 2022 jao
+;; Copyright (C) 2022, 2026 jao
;; Author: jao <mail@jao.io>
;; Keywords: shell
@@ -59,7 +59,7 @@
(defun jao-shell-output (cmd handler)
(with-temp-buffer
(call-process-shell-command cmd nil (current-buffer))
- (beginning-of-buffer)
+ (goto-char (point-min))
(funcall handler)))
(defun jao-shell-running-p (pr) (eq 0 (jao-shell-exec* t "pidof" pr)))