# HG changeset patch # User Andreas Schwab # Date 1056300765 0 # Node ID 17d4cef02d9b9b968b1d2a63dd14555dd39192a3 # Parent 24dc7642d7925d97b7a0dc7698ad3add2c0b8b9c (eshell-do-opt): Avoid variable as format argument for error. diff -r 24dc7642d792 -r 17d4cef02d9b lisp/eshell/esh-opt.el --- 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 @@ -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))