]> git.eshelyaron.com Git - emacs.git/commitdiff
(eshell-do-opt): Avoid variable as format
authorAndreas Schwab <schwab@suse.de>
Sun, 22 Jun 2003 16:52:45 +0000 (16:52 +0000)
committerAndreas Schwab <schwab@suse.de>
Sun, 22 Jun 2003 16:52:45 +0000 (16:52 +0000)
argument for error.

lisp/eshell/esh-opt.el

index 85e30ca218048e89cff9ae3a0148c287b87bb9a9..6807e1a4f0279b126db4928ff97352f7520bd438 100644 (file)
@@ -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 @@ 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))