From c009ca06edf6f57b34f6e9ec0c9f7c0e47c1c7eb Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sun, 22 Jun 2003 16:52:45 +0000 Subject: [PATCH] (eshell-do-opt): Avoid variable as format argument for error. --- lisp/eshell/esh-opt.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/eshell/esh-opt.el b/lisp/eshell/esh-opt.el index 85e30ca2180..6807e1a4f02 100644 --- a/lisp/eshell/esh-opt.el +++ b/lisp/eshell/esh-opt.el @@ -1,6 +1,6 @@ ;;; esh-opt.el --- command options processing -;; Copyright (C) 1999, 2000 Free Software Foundation +;; Copyright (C) 1999, 2000, 2003 Free Software Foundation ;; Author: John Wiegley @@ -98,7 +98,7 @@ This code doesn't really need to be macro expanded everywhere." last-value (eval (append (list 'progn) body-forms))) nil)) - (error usage-msg)))) + (error "%s" usage-msg)))) (throw 'eshell-external (eshell-external-command ext-command args)) last-value)) -- 2.11.4.GIT