diff options
| author | Andreas Schwab | 2003-06-22 16:52:45 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2003-06-22 16:52:45 +0000 |
| commit | c009ca06edf6f57b34f6e9ec0c9f7c0e47c1c7eb (patch) | |
| tree | e914613dec09ce5a1cc5d873ada3311448683d22 | |
| parent | bf473948b37059f20d98c50ca30e5dae1ca6b734 (diff) | |
| download | emacs-c009ca06edf6f57b34f6e9ec0c9f7c0e47c1c7eb.tar.gz emacs-c009ca06edf6f57b34f6e9ec0c9f7c0e47c1c7eb.zip | |
(eshell-do-opt): Avoid variable as format
argument for error.
| -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 @@ | |||
| 1 | ;;; esh-opt.el --- command options processing | 1 | ;;; esh-opt.el --- command options processing |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1999, 2000 Free Software Foundation | 3 | ;; Copyright (C) 1999, 2000, 2003 Free Software Foundation |
| 4 | 4 | ||
| 5 | ;; Author: John Wiegley <johnw@gnu.org> | 5 | ;; Author: John Wiegley <johnw@gnu.org> |
| 6 | 6 | ||
| @@ -98,7 +98,7 @@ This code doesn't really need to be macro expanded everywhere." | |||
| 98 | last-value (eval (append (list 'progn) | 98 | last-value (eval (append (list 'progn) |
| 99 | body-forms))) | 99 | body-forms))) |
| 100 | nil)) | 100 | nil)) |
| 101 | (error usage-msg)))) | 101 | (error "%s" usage-msg)))) |
| 102 | (throw 'eshell-external | 102 | (throw 'eshell-external |
| 103 | (eshell-external-command ext-command args)) | 103 | (eshell-external-command ext-command args)) |
| 104 | last-value)) | 104 | last-value)) |