summaryrefslogtreecommitdiff
path: root/lisp/emulation/vip.el
diff options
context:
space:
mode:
authorWerner LEMBERG <wl@gnu.org>2005-03-25 08:30:01 +0000
committerWerner LEMBERG <wl@gnu.org>2005-03-25 08:30:01 +0000
commitd00fa0a4b38917bf2b0d63c43864e4230d52b717 (patch)
tree7f9c576268bfd6310aa2058d6ae6e526650c7f5b /lisp/emulation/vip.el
parent4920bd1ec414afb7acb3e3d8f057f78abe4a9fa6 (diff)
* emulation/vip.el: Replace `illegal' with `invalid'.
Diffstat (limited to 'lisp/emulation/vip.el')
-rw-r--r--lisp/emulation/vip.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/emulation/vip.el b/lisp/emulation/vip.el
index cbb0aa55aa..af878085ba 100644
--- a/lisp/emulation/vip.el
+++ b/lisp/emulation/vip.el
@@ -1,6 +1,6 @@
;;; vip.el --- a VI Package for GNU Emacs
-;; Copyright (C) 1986, 1987, 1988, 1992, 1993, 1998
+;; Copyright (C) 1986, 1987, 1988, 1992, 1993, 1998, 2005
;; Free Software Foundation, Inc.
;; Author: Masahiko Sato <ms@sail.stanford.edu>
@@ -2253,7 +2253,7 @@ a token has type \(command, address, end-mark\) and value."
(setq ex-token-type "end-mark")
(setq ex-token "goto"))
(t
- (error "illegal token")))))
+ (error "invalid token")))))
(defun vip-ex (&optional string)
"ex commands within VIP."
@@ -2478,7 +2478,7 @@ a token has type \(command, address, end-mark\) and value."
(setq ex-flag t)
(forward-char 1)))
(if (not (looking-at "[\n|]"))
- (error "Illegal extra characters"))))
+ (error "Invalid extra characters"))))
(defun vip-get-ex-count ()
(setq ex-variant nil
@@ -2503,7 +2503,7 @@ a token has type \(command, address, end-mark\) and value."
(setq ex-flag t)
(forward-char 1)))
(if (not (looking-at "[\n|]"))
- (error "Illegal extra characters"))))
+ (error "Invalid extra characters"))))
(defun vip-get-ex-file ()
"get a file name and set ex-variant, ex-append and ex-offset if found"