diff options
| author | Karl Heuer | 1996-01-29 23:19:04 +0000 |
|---|---|---|
| committer | Karl Heuer | 1996-01-29 23:19:04 +0000 |
| commit | 195b04a4bef49e2f69f6aed50af170c258c16606 (patch) | |
| tree | d24abf758f28814b9c8457fbea3bc89cb8fb48eb | |
| parent | e8a74167d7d499bfb4b8ee381e2f0643a09c6bf9 (diff) | |
| download | emacs-195b04a4bef49e2f69f6aed50af170c258c16606.tar.gz emacs-195b04a4bef49e2f69f6aed50af170c258c16606.zip | |
(vip-execute-ex-command, ex-write): Fix error format string.
| -rw-r--r-- | lisp/emulation/vip.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/emulation/vip.el b/lisp/emulation/vip.el index 8a7f0757b6d..ac2124f33f5 100644 --- a/lisp/emulation/vip.el +++ b/lisp/emulation/vip.el | |||
| @@ -2554,7 +2554,7 @@ a token has type \(command, address, end-mark\) and value." | |||
| 2554 | (string= ex-token "insert") | 2554 | (string= ex-token "insert") |
| 2555 | (string= ex-token "open") | 2555 | (string= ex-token "open") |
| 2556 | ) | 2556 | ) |
| 2557 | (error (format "%s: no such command from VIP" ex-token))) | 2557 | (error "%s: no such command from VIP" ex-token)) |
| 2558 | ((or (string= ex-token "abbreviate") | 2558 | ((or (string= ex-token "abbreviate") |
| 2559 | (string= ex-token "list") | 2559 | (string= ex-token "list") |
| 2560 | (string= ex-token "next") | 2560 | (string= ex-token "next") |
| @@ -2567,8 +2567,8 @@ a token has type \(command, address, end-mark\) and value." | |||
| 2567 | (string= ex-token "xit") | 2567 | (string= ex-token "xit") |
| 2568 | (string= ex-token "z") | 2568 | (string= ex-token "z") |
| 2569 | ) | 2569 | ) |
| 2570 | (error (format "%s: not implemented in VIP" ex-token))) | 2570 | (error "%s: not implemented in VIP" ex-token)) |
| 2571 | (t (error (format "%s: Not an editor command" ex-token))))) | 2571 | (t (error "%s: Not an editor command" ex-token)))) |
| 2572 | 2572 | ||
| 2573 | (defun ex-goto () | 2573 | (defun ex-goto () |
| 2574 | "ex goto command" | 2574 | "ex goto command" |
| @@ -2984,7 +2984,7 @@ vip-s-string" | |||
| 2984 | (if (and (not (string= ex-file (buffer-file-name))) | 2984 | (if (and (not (string= ex-file (buffer-file-name))) |
| 2985 | (file-exists-p ex-file) | 2985 | (file-exists-p ex-file) |
| 2986 | (not ex-variant)) | 2986 | (not ex-variant)) |
| 2987 | (error (format "\"%s\" File exists - use w! to override" ex-file))) | 2987 | (error "\"%s\" File exists - use w! to override" ex-file)) |
| 2988 | (let ((end (car ex-addresses)) (beg (car (cdr ex-addresses)))) | 2988 | (let ((end (car ex-addresses)) (beg (car (cdr ex-addresses)))) |
| 2989 | (if (> beg end) (error "First address exceeds second")) | 2989 | (if (> beg end) (error "First address exceeds second")) |
| 2990 | (save-excursion | 2990 | (save-excursion |