* eat.el (eat): Use buffer name for process name

This commit is contained in:
Akib Azmain Turja 2022-12-28 21:46:27 +06:00
parent e66cca3341
commit 5314be930e
No known key found for this signature in database
GPG key ID: 5535FCF54D88616B

4
eat.el
View file

@ -5424,8 +5424,8 @@ PROGRAM can be a shell command."
(eat-mode))
(pop-to-buffer-same-window buffer)
(unless eat--process
(eat-exec buffer "eat" "/usr/bin/env" nil
`("sh" "-c" ,program)))
(eat-exec buffer (buffer-name) "/usr/bin/env" nil
(list "sh" "-c" program)))
buffer)))