diff options
author | Andreas Schwab <schwab@suse.de> | 2003-06-22 16:52:45 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2003-06-22 16:52:45 +0000 |
commit | c009ca06edf6f57b34f6e9ec0c9f7c0e47c1c7eb (patch) | |
tree | e914613dec09ce5a1cc5d873ada3311448683d22 /lisp/eshell/esh-opt.el | |
parent | bf473948b37059f20d98c50ca30e5dae1ca6b734 (diff) | |
download | emacs-c009ca06edf6f57b34f6e9ec0c9f7c0e47c1c7eb.tar.gz emacs-c009ca06edf6f57b34f6e9ec0c9f7c0e47c1c7eb.tar.bz2 emacs-c009ca06edf6f57b34f6e9ec0c9f7c0e47c1c7eb.zip |
(eshell-do-opt): Avoid variable as format
argument for error.
Diffstat (limited to 'lisp/eshell/esh-opt.el')
-rw-r--r-- | lisp/eshell/esh-opt.el | 4 |
1 files 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 <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)) |