(string= ex-token "insert")
(string= ex-token "open")
)
- (error (format "%s: no such command from VIP" ex-token)))
+ (error "%s: no such command from VIP" ex-token))
((or (string= ex-token "abbreviate")
(string= ex-token "list")
(string= ex-token "next")
(string= ex-token "xit")
(string= ex-token "z")
)
- (error (format "%s: not implemented in VIP" ex-token)))
- (t (error (format "%s: Not an editor command" ex-token)))))
+ (error "%s: not implemented in VIP" ex-token))
+ (t (error "%s: Not an editor command" ex-token))))
(defun ex-goto ()
"ex goto command"
(if (and (not (string= ex-file (buffer-file-name)))
(file-exists-p ex-file)
(not ex-variant))
- (error (format "\"%s\" File exists - use w! to override" ex-file)))
+ (error "\"%s\" File exists - use w! to override" ex-file))
(let ((end (car ex-addresses)) (beg (car (cdr ex-addresses))))
(if (> beg end) (error "First address exceeds second"))
(save-excursion