changeset 51642:17d4cef02d9b

(eshell-do-opt): Avoid variable as format argument for error.
author Andreas Schwab <schwab@suse.de>
date Sun, 22 Jun 2003 16:52:45 +0000
parents 24dc7642d792
children 3161ec452b93
files lisp/eshell/esh-opt.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/eshell/esh-opt.el	Sun Jun 22 16:49:31 2003 +0000
+++ b/lisp/eshell/esh-opt.el	Sun Jun 22 16:52:45 2003 +0000
@@ -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 <johnw@gnu.org>
 
@@ -98,7 +98,7 @@
 			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))