]> git.eshelyaron.com Git - emacs.git/commitdiff
(vip-ex): Don't use `format' on `error' arguments.
authorJuanma Barranquero <lekktu@gmail.com>
Thu, 16 Jun 2005 14:38:12 +0000 (14:38 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Thu, 16 Jun 2005 14:38:12 +0000 (14:38 +0000)
lisp/emulation/vip.el

index dace12d4c8f2c23a4f3c7e32b3db0ea15b318653..7584436e20a254a763b67ab5d4fcebaa6a60ac50 100644 (file)
@@ -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))))