summaryrefslogtreecommitdiffstats
path: root/lib/libedit
diff options
context:
space:
mode:
authorschweikh <schweikh@FreeBSD.org>2003-01-01 18:49:04 +0000
committerschweikh <schweikh@FreeBSD.org>2003-01-01 18:49:04 +0000
commitd3367c5f5d3ddcc6824d8f41c4cf179f9a5588f8 (patch)
treef412dafc7d29429919e8770cdefeb37441fc1299 /lib/libedit
parent718a7892bc6da2237db71c255051dd54a4e93a92 (diff)
downloadFreeBSD-src-d3367c5f5d3ddcc6824d8f41c4cf179f9a5588f8.zip
FreeBSD-src-d3367c5f5d3ddcc6824d8f41c4cf179f9a5588f8.tar.gz
Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,
especially in troff files.
Diffstat (limited to 'lib/libedit')
-rw-r--r--lib/libedit/chared.h2
-rw-r--r--lib/libedit/common.c2
-rw-r--r--lib/libedit/emacs.c2
-rw-r--r--lib/libedit/vi.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/lib/libedit/chared.h b/lib/libedit/chared.h
index 9d6c4ad..80606bb 100644
--- a/lib/libedit/chared.h
+++ b/lib/libedit/chared.h
@@ -52,7 +52,7 @@
#define EL_MAXMACRO 10
/*
- * This is a issue of basic "vi" look-and-feel. Defining VI_MOVE works
+ * This is an issue of basic "vi" look-and-feel. Defining VI_MOVE works
* like real vi: i.e. the transition from command<->insert modes moves
* the cursor.
*
diff --git a/lib/libedit/common.c b/lib/libedit/common.c
index f2d02e3..145f4b7 100644
--- a/lib/libedit/common.c
+++ b/lib/libedit/common.c
@@ -175,7 +175,7 @@ ed_delete_next_char(EditLine *el, int c)
return (CC_ERROR);
#else
term_overwrite(el, STReof, 4);
- /* then do a EOF */
+ /* then do an EOF */
term__flush();
return (CC_EOF);
#endif
diff --git a/lib/libedit/emacs.c b/lib/libedit/emacs.c
index 2e82f13..eff478d 100644
--- a/lib/libedit/emacs.c
+++ b/lib/libedit/emacs.c
@@ -61,7 +61,7 @@ em_delete_or_list(EditLine *el, int c)
/* if I'm at the end */
if (el->el_line.cursor == el->el_line.buffer) {
/* and the beginning */
- term_overwrite(el, STReof, 4); /* then do a EOF */
+ term_overwrite(el, STReof, 4); /* then do an EOF */
term__flush();
return (CC_EOF);
} else {
diff --git a/lib/libedit/vi.c b/lib/libedit/vi.c
index 34f781c..72de5c9 100644
--- a/lib/libedit/vi.c
+++ b/lib/libedit/vi.c
@@ -744,7 +744,7 @@ vi_list_or_eof(EditLine *el, int c)
if (el->el_line.cursor == el->el_line.lastchar &&
el->el_line.cursor == el->el_line.buffer) {
#endif
- term_overwrite(el, STReof, 4); /* then do a EOF */
+ term_overwrite(el, STReof, 4); /* then do an EOF */
term__flush();
return (CC_EOF);
#ifdef notyet
OpenPOWER on IntegriCloud