diff options
| author | Jim Blandy | 1993-06-09 11:59:12 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-06-09 11:59:12 +0000 |
| commit | eb8c3be94e12644f506b8857e49ffef88046bb0b (patch) | |
| tree | 505c4ea5ae59214e4d6e749047d160c98191c9d2 /lisp/emulation | |
| parent | 16a4a21d0117ef5ed346f340f244fe199d3c8a26 (diff) | |
| download | emacs-eb8c3be94e12644f506b8857e49ffef88046bb0b.tar.gz emacs-eb8c3be94e12644f506b8857e49ffef88046bb0b.zip | |
Apply typo patches from Paul Eggert.
Diffstat (limited to 'lisp/emulation')
| -rw-r--r-- | lisp/emulation/edt.el | 2 | ||||
| -rw-r--r-- | lisp/emulation/mlconvert.el | 2 | ||||
| -rw-r--r-- | lisp/emulation/vi.el | 6 | ||||
| -rw-r--r-- | lisp/emulation/vip.el | 22 | ||||
| -rw-r--r-- | lisp/emulation/ws-mode.el | 2 |
5 files changed, 17 insertions, 17 deletions
diff --git a/lisp/emulation/edt.el b/lisp/emulation/edt.el index 875cb173075..3770767fe92 100644 --- a/lisp/emulation/edt.el +++ b/lisp/emulation/edt.el | |||
| @@ -391,7 +391,7 @@ The keys redefined by \\[edt-emulation-on] are given their old definitions." | |||
| 391 | (global-set-key "\C-j" edt-mode-old-linefeed)) ;"LineFeed" | 391 | (global-set-key "\C-j" edt-mode-old-linefeed)) ;"LineFeed" |
| 392 | 392 | ||
| 393 | (defvar GOLD-map (make-keymap) | 393 | (defvar GOLD-map (make-keymap) |
| 394 | "`GOLD-map' maps the function keys on the VT100 keyboard preceeded | 394 | "`GOLD-map' maps the function keys on the VT100 keyboard preceded |
| 395 | by the PF1 key. GOLD is the ASCII the 7-bit escape sequence <ESC>OP.") | 395 | by the PF1 key. GOLD is the ASCII the 7-bit escape sequence <ESC>OP.") |
| 396 | 396 | ||
| 397 | (defalias 'GOLD-prefix GOLD-map) | 397 | (defalias 'GOLD-prefix GOLD-map) |
diff --git a/lisp/emulation/mlconvert.el b/lisp/emulation/mlconvert.el index c186622e43b..9a8d9f4e2ea 100644 --- a/lisp/emulation/mlconvert.el +++ b/lisp/emulation/mlconvert.el | |||
| @@ -23,7 +23,7 @@ | |||
| 23 | 23 | ||
| 24 | ;;; Commentary: | 24 | ;;; Commentary: |
| 25 | 25 | ||
| 26 | ;; This package conversts Mocklisp code written under a Gosling or UniPress | 26 | ;; This package converts Mocklisp code written under a Gosling or UniPress |
| 27 | ;; Emacs for use with GNU Emacs. The translated code will require runtime | 27 | ;; Emacs for use with GNU Emacs. The translated code will require runtime |
| 28 | ;; support from the mlsupport.el equivalent. | 28 | ;; support from the mlsupport.el equivalent. |
| 29 | 29 | ||
diff --git a/lisp/emulation/vi.el b/lisp/emulation/vi.el index 5c9f71b96a5..0f42f72c7d5 100644 --- a/lisp/emulation/vi.el +++ b/lisp/emulation/vi.el | |||
| @@ -332,7 +332,7 @@ command extensions.") | |||
| 332 | "Save last direction, char and upto-flag used for char finding.") | 332 | "Save last direction, char and upto-flag used for char finding.") |
| 333 | 333 | ||
| 334 | (defvar vi-last-change-command nil ; cons cell | 334 | (defvar vi-last-change-command nil ; cons cell |
| 335 | "Save commmands for redoing last changes. Each command is in (FUNC . ARGS) | 335 | "Save commands for redoing last changes. Each command is in (FUNC . ARGS) |
| 336 | form that is ready to be 'apply'ed.") | 336 | form that is ready to be 'apply'ed.") |
| 337 | 337 | ||
| 338 | (defvar vi-last-shell-command nil ; last shell op command line | 338 | (defvar vi-last-shell-command nil ; last shell op command line |
| @@ -790,7 +790,7 @@ The given COUNT is remembered for future scrollings." | |||
| 790 | 790 | ||
| 791 | (defun vi-char-argument (arg) | 791 | (defun vi-char-argument (arg) |
| 792 | "Get following character (could be any CHAR) as part of the prefix argument. | 792 | "Get following character (could be any CHAR) as part of the prefix argument. |
| 793 | Possible perfix-arg cases are NIL, INTEGER, (NIL . CHAR) or (INTEGER . CHAR)." | 793 | Possible prefix-arg cases are NIL, INTEGER, (NIL . CHAR) or (INTEGER . CHAR)." |
| 794 | (interactive "P") | 794 | (interactive "P") |
| 795 | (let ((char (read-char))) | 795 | (let ((char (read-char))) |
| 796 | (cond ((null arg) (setq prefix-arg (cons nil char))) | 796 | (cond ((null arg) (setq prefix-arg (cons nil char))) |
| @@ -1346,7 +1346,7 @@ The following CHAR will be the name for the command or macro." | |||
| 1346 | (vi-ask-for-info char)))) | 1346 | (vi-ask-for-info char)))) |
| 1347 | 1347 | ||
| 1348 | (defun vi-mark-region (arg region) | 1348 | (defun vi-mark-region (arg region) |
| 1349 | "Mark region approriately. The next char REGION is d(efun),s(-exp),b(uffer), | 1349 | "Mark region appropriately. The next char REGION is d(efun),s(-exp),b(uffer), |
| 1350 | p(aragraph), P(age), f(unction in C/Pascal etc.), w(ord), e(nd of sentence), | 1350 | p(aragraph), P(age), f(unction in C/Pascal etc.), w(ord), e(nd of sentence), |
| 1351 | l(ines)." | 1351 | l(ines)." |
| 1352 | (interactive "p\nc") | 1352 | (interactive "p\nc") |
diff --git a/lisp/emulation/vip.el b/lisp/emulation/vip.el index 13f91aa069f..3c307625059 100644 --- a/lisp/emulation/vip.el +++ b/lisp/emulation/vip.el | |||
| @@ -67,7 +67,7 @@ | |||
| 67 | 67 | ||
| 68 | (defvar vip-d-com nil | 68 | (defvar vip-d-com nil |
| 69 | "If non-nil, it's value is a list (M-COM VAL COM), and is used to | 69 | "If non-nil, it's value is a list (M-COM VAL COM), and is used to |
| 70 | re-execute last destrcutive command") | 70 | re-execute last destructive command") |
| 71 | 71 | ||
| 72 | (defconst vip-shift-width 8 | 72 | (defconst vip-shift-width 8 |
| 73 | "*The number of colums shifted by > and < command.") | 73 | "*The number of colums shifted by > and < command.") |
| @@ -76,7 +76,7 @@ re-execute last destrcutive command") | |||
| 76 | "*If t then do regexp replace, if nil then do string replace.") | 76 | "*If t then do regexp replace, if nil then do string replace.") |
| 77 | 77 | ||
| 78 | (defvar vip-d-char nil | 78 | (defvar vip-d-char nil |
| 79 | "The character remenbered by the vi \"r\" command") | 79 | "The character remembered by the vi \"r\" command") |
| 80 | 80 | ||
| 81 | (defvar vip-f-char nil | 81 | (defvar vip-f-char nil |
| 82 | "for use by \";\" command") | 82 | "for use by \";\" command") |
| @@ -322,7 +322,7 @@ EVENTS is a list of events, which become the beginning of the command." | |||
| 322 | (vip-escape-to-emacs arg '(?\C-h))) | 322 | (vip-escape-to-emacs arg '(?\C-h))) |
| 323 | 323 | ||
| 324 | 324 | ||
| 325 | ;; prefix argmument for vi mode | 325 | ;; prefix argument for vi mode |
| 326 | 326 | ||
| 327 | ;; In vi mode, prefix argument is a dotted pair (NUM . COM) where NUM | 327 | ;; In vi mode, prefix argument is a dotted pair (NUM . COM) where NUM |
| 328 | ;; represents the numeric value of the prefix argument and COM represents | 328 | ;; represents the numeric value of the prefix argument and COM represents |
| @@ -359,7 +359,7 @@ obtained so far, and COM is the command part obtained so far." | |||
| 359 | (setq cont nil)) | 359 | (setq cont nil)) |
| 360 | ;; if com is nil we set com as char, and read more. again, if char | 360 | ;; if com is nil we set com as char, and read more. again, if char |
| 361 | ;; is ", we read the name of register and store it in vip-use-register. | 361 | ;; is ", we read the name of register and store it in vip-use-register. |
| 362 | ;; if char is !, =, or #, a copmlete com is formed so we exit while. | 362 | ;; if char is !, =, or #, a complete com is formed so we exit while. |
| 363 | (cond ((or (= char ?!) (= char ?=)) | 363 | (cond ((or (= char ?!) (= char ?=)) |
| 364 | (setq com char) | 364 | (setq com char) |
| 365 | (setq char (read-char)) | 365 | (setq char (read-char)) |
| @@ -422,7 +422,7 @@ obtained so far, and COM is the command part obtained so far." | |||
| 422 | com (vip-getcom arg)) | 422 | com (vip-getcom arg)) |
| 423 | (if (null val) | 423 | (if (null val) |
| 424 | (if (null com) | 424 | (if (null com) |
| 425 | (message "Value is nil, and commmand is nil.") | 425 | (message "Value is nil, and command is nil.") |
| 426 | (message "Value is nil, and command is %c." com)) | 426 | (message "Value is nil, and command is %c." com)) |
| 427 | (if (null com) | 427 | (if (null com) |
| 428 | (message "Value is %d, and command is nil." val) | 428 | (message "Value is %d, and command is nil." val) |
| @@ -626,7 +626,7 @@ to vip-d-com for later use by vip-repeat" | |||
| 626 | reg)))) | 626 | reg)))) |
| 627 | 627 | ||
| 628 | (defun vip-repeat (arg) | 628 | (defun vip-repeat (arg) |
| 629 | "(ARG) Re-excute last destructive command. vip-d-com has the form | 629 | "(ARG) Re-execute last destructive command. vip-d-com has the form |
| 630 | (COM ARG CH REG), where COM is the command to be re-executed, ARG is the | 630 | (COM ARG CH REG), where COM is the command to be re-executed, ARG is the |
| 631 | argument for COM, CH is a flag for repeat, and REG is optional and if exists | 631 | argument for COM, CH is a flag for repeat, and REG is optional and if exists |
| 632 | is the name of the register for COM." | 632 | is the name of the register for COM." |
| @@ -1128,7 +1128,7 @@ beginning of buffer, stop and signal error." | |||
| 1128 | (if com (vip-execute-com 'vip-goto-line val com)))) | 1128 | (if com (vip-execute-com 'vip-goto-line val com)))) |
| 1129 | 1129 | ||
| 1130 | (defun vip-find-char (arg char forward offset) | 1130 | (defun vip-find-char (arg char forward offset) |
| 1131 | "Find ARG's occurence of CHAR on the current line. If FORWARD then | 1131 | "Find ARG's occurrence of CHAR on the current line. If FORWARD then |
| 1132 | search is forward, otherwise backward. OFFSET is used to adjust point | 1132 | search is forward, otherwise backward. OFFSET is used to adjust point |
| 1133 | after search." | 1133 | after search." |
| 1134 | (let ((arg (if forward arg (- arg))) point) | 1134 | (let ((arg (if forward arg (- arg))) point) |
| @@ -1429,7 +1429,7 @@ used. This behaviour is controlled by the sign of prefix numeric value." | |||
| 1429 | ;; searching | 1429 | ;; searching |
| 1430 | 1430 | ||
| 1431 | (defun vip-search-forward (arg) | 1431 | (defun vip-search-forward (arg) |
| 1432 | "Search a string forward. ARG is used to find the ARG's occurence | 1432 | "Search a string forward. ARG is used to find the ARG's occurrence |
| 1433 | of the string. Default is vanilla search. Search mode can be toggled by | 1433 | of the string. Default is vanilla search. Search mode can be toggled by |
| 1434 | giving null search string." | 1434 | giving null search string." |
| 1435 | (interactive "P") | 1435 | (interactive "P") |
| @@ -1449,7 +1449,7 @@ giving null search string." | |||
| 1449 | (vip-execute-com 'vip-search-next val com)))))) | 1449 | (vip-execute-com 'vip-search-next val com)))))) |
| 1450 | 1450 | ||
| 1451 | (defun vip-search-backward (arg) | 1451 | (defun vip-search-backward (arg) |
| 1452 | "Search a string backward. ARG is used to find the ARG's occurence | 1452 | "Search a string backward. ARG is used to find the ARG's occurrence |
| 1453 | of the string. Default is vanilla search. Search mode can be toggled by | 1453 | of the string. Default is vanilla search. Search mode can be toggled by |
| 1454 | giving null search string." | 1454 | giving null search string." |
| 1455 | (interactive "P") | 1455 | (interactive "P") |
| @@ -2012,7 +2012,7 @@ is a command.") | |||
| 2012 | "pattern for global command") | 2012 | "pattern for global command") |
| 2013 | 2013 | ||
| 2014 | (defvar ex-map (make-sparse-keymap) | 2014 | (defvar ex-map (make-sparse-keymap) |
| 2015 | "save commnads for mapped keys") | 2015 | "save commands for mapped keys") |
| 2016 | 2016 | ||
| 2017 | (defvar ex-tag nil | 2017 | (defvar ex-tag nil |
| 2018 | "save ex tag") | 2018 | "save ex tag") |
| @@ -2988,7 +2988,7 @@ vip-s-string" | |||
| 2988 | (forward-line (1- ex-count))) | 2988 | (forward-line (1- ex-count))) |
| 2989 | (set-mark end)) | 2989 | (set-mark end)) |
| 2990 | (vip-enlarge-region (point) (mark)) | 2990 | (vip-enlarge-region (point) (mark)) |
| 2991 | (if ex-flag (error "Extra chacters at end of command")) | 2991 | (if ex-flag (error "Extra characters at end of command")) |
| 2992 | (if ex-buffer | 2992 | (if ex-buffer |
| 2993 | (copy-to-register ex-buffer (point) (mark) nil)) | 2993 | (copy-to-register ex-buffer (point) (mark) nil)) |
| 2994 | (copy-region-as-kill (point) (mark))))) | 2994 | (copy-region-as-kill (point) (mark))))) |
diff --git a/lisp/emulation/ws-mode.el b/lisp/emulation/ws-mode.el index b0d513be5d5..63c0c278634 100644 --- a/lisp/emulation/ws-mode.el +++ b/lisp/emulation/ws-mode.el | |||
| @@ -469,7 +469,7 @@ in ws-last-errormessage for recovery with C-q w." | |||
| 469 | 469 | ||
| 470 | 470 | ||
| 471 | (defun ws-indent-block () | 471 | (defun ws-indent-block () |
| 472 | "In WordStar mode: Indent block (not yet implemeted)." | 472 | "In WordStar mode: Indent block (not yet implemented)." |
| 473 | (interactive) | 473 | (interactive) |
| 474 | (ws-error "Indent block not yet implemented")) | 474 | (ws-error "Indent block not yet implemented")) |
| 475 | 475 | ||