From 299204b3ac39471030bff88f8cbd3adc082f1de1 Mon Sep 17 00:00:00 2001 From: Bram Schoenmakers Date: Tue, 18 Jul 2023 13:07:15 +0200 Subject: [PATCH] Remove superfluous string --- gists.org | 2 +- gists/execute-command-repeatedly.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gists.org b/gists.org index b145e64..1a84b96 100644 --- a/gists.org +++ b/gists.org @@ -609,7 +609,7 @@ An improved version was [[https://github.com/xenodium/dwim-shell-command/commit/ (interactive (append (list (read-command "Command: ")) (my/read-list))) (mapc (lambda (arg) - (with-demoted-errors "Error: %S" + (with-demoted-errors (funcall command arg))) arguments)) #+end_src diff --git a/gists/execute-command-repeatedly.el b/gists/execute-command-repeatedly.el index c67897a..f95bbe4 100644 --- a/gists/execute-command-repeatedly.el +++ b/gists/execute-command-repeatedly.el @@ -25,6 +25,6 @@ value." (interactive (append (list (read-command "Command: ")) (my/read-list))) (mapc (lambda (arg) - (with-demoted-errors "Error: %S" + (with-demoted-errors (funcall command arg))) arguments))