From: Juanma Barranquero Date: Thu, 16 Jun 2005 14:38:12 +0000 (+0000) Subject: (vip-ex): Don't use `format' on `error' arguments. X-Git-Tag: emacs-pretest-22.0.90~8893 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2ae2e81e9b38bd414fd902e2bdeac1de877d0c22;p=emacs.git (vip-ex): Don't use `format' on `error' arguments. --- diff --git a/lisp/emulation/vip.el b/lisp/emulation/vip.el index dace12d4c8f..7584436e20a 100644 --- a/lisp/emulation/vip.el +++ b/lisp/emulation/vip.el @@ -2292,7 +2292,7 @@ a token has type \(command, address, end-mark\) and value." (setq cont nil)) (t (error "Extra character at end of a command"))))))) ((string= ex-token-type "non-command") - (error (format "%s: Not an editor command" ex-token))) + (error "%s: Not an editor command" ex-token)) ((string= ex-token-type "whole") (setq ex-addresses (cons (point-max) (cons (point-min) ex-addresses))))