changeset 63489:c57eafee8b09

(vip-ex): Don't use `format' on `error' arguments.
author Juanma Barranquero <lekktu@gmail.com>
date Thu, 16 Jun 2005 14:38:12 +0000
parents 31f53cf94303
children 65b21147737a
files lisp/emulation/vip.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emulation/vip.el	Thu Jun 16 14:34:12 2005 +0000
+++ b/lisp/emulation/vip.el	Thu Jun 16 14:38:12 2005 +0000
@@ -2292,7 +2292,7 @@
 			     (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))))