From 2feb06bc34e2da200f94145d739d40790b1bf3d1 Mon Sep 17 00:00:00 2001 From: Gerard Vermeulen Date: Sun, 26 Feb 2023 10:01:26 +0100 Subject: [PATCH] Return text without properties from `shell-command-with-exit-code' --- README.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.org b/README.org index 3338e90..b54e3ab 100644 --- a/README.org +++ b/README.org @@ -854,7 +854,7 @@ output to =stdout=. "Run PROGRAM with ARGS and return exit-code and output in a list." (with-temp-buffer (list (apply 'call-process program nil (current-buffer) nil args) - (buffer-string)))) + (buffer-substring-no-properties (point-min) (point-max))))) #+end_src * [[info:emacs#Help][Help (info)]]