diff options
| author | Paul Eggert | 2011-12-05 00:55:25 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-12-05 00:55:25 -0800 |
| commit | fa46310344375ef5c114cbb94d4acea39ac29239 (patch) | |
| tree | 4d74de9694db1c199cd9301a27c48b4d4137cf0c /lisp/emulation | |
| parent | c3c9e25e5d2c222d9f79a503c714b48c06078c08 (diff) | |
| download | emacs-fa46310344375ef5c114cbb94d4acea39ac29239.tar.gz emacs-fa46310344375ef5c114cbb94d4acea39ac29239.zip | |
Spelling fixes.
Diffstat (limited to 'lisp/emulation')
| -rw-r--r-- | lisp/emulation/cua-rect.el | 4 | ||||
| -rw-r--r-- | lisp/emulation/viper-cmd.el | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lisp/emulation/cua-rect.el b/lisp/emulation/cua-rect.el index 76cab39f5b2..00aec2d0bf9 100644 --- a/lisp/emulation/cua-rect.el +++ b/lisp/emulation/cua-rect.el | |||
| @@ -1258,7 +1258,7 @@ The numbers are formatted according to the FORMAT string." | |||
| 1258 | (untabify (point-min) (point-max))) | 1258 | (untabify (point-min) (point-max))) |
| 1259 | 1259 | ||
| 1260 | (defun cua-text-fill-rectangle (width text) | 1260 | (defun cua-text-fill-rectangle (width text) |
| 1261 | "Replace rectagle with filled TEXT read from minibuffer. | 1261 | "Replace rectangle with filled TEXT read from minibuffer. |
| 1262 | A numeric prefix argument is used a new width for the filled rectangle." | 1262 | A numeric prefix argument is used a new width for the filled rectangle." |
| 1263 | (interactive (list | 1263 | (interactive (list |
| 1264 | (prefix-numeric-value current-prefix-arg) | 1264 | (prefix-numeric-value current-prefix-arg) |
| @@ -1269,7 +1269,7 @@ A numeric prefix argument is used a new width for the filled rectangle." | |||
| 1269 | (lambda () (insert text)))) | 1269 | (lambda () (insert text)))) |
| 1270 | 1270 | ||
| 1271 | (defun cua-refill-rectangle (width) | 1271 | (defun cua-refill-rectangle (width) |
| 1272 | "Fill contents of current rectagle. | 1272 | "Fill contents of current rectangle. |
| 1273 | A numeric prefix argument is used as new width for the filled rectangle." | 1273 | A numeric prefix argument is used as new width for the filled rectangle." |
| 1274 | (interactive "P") | 1274 | (interactive "P") |
| 1275 | (cua--rectangle-aux-replace | 1275 | (cua--rectangle-aux-replace |
diff --git a/lisp/emulation/viper-cmd.el b/lisp/emulation/viper-cmd.el index 78bc09af136..b6d487704f4 100644 --- a/lisp/emulation/viper-cmd.el +++ b/lisp/emulation/viper-cmd.el | |||
| @@ -1979,7 +1979,7 @@ Undo previous insertion and inserts new." | |||
| 1979 | ;; Quote region by each line with a user supplied string. | 1979 | ;; Quote region by each line with a user supplied string. |
| 1980 | (defun viper-quote-region () | 1980 | (defun viper-quote-region () |
| 1981 | (let ((quote-str viper-quote-string) | 1981 | (let ((quote-str viper-quote-string) |
| 1982 | (donot-change-dafault t)) | 1982 | (donot-change-default t)) |
| 1983 | (setq quote-str | 1983 | (setq quote-str |
| 1984 | (viper-read-string-with-history | 1984 | (viper-read-string-with-history |
| 1985 | "Quote string: " | 1985 | "Quote string: " |
| @@ -1991,9 +1991,9 @@ Undo previous insertion and inserts new." | |||
| 1991 | ((string-match "lisp.*-mode" (symbol-name major-mode)) ";;") | 1991 | ((string-match "lisp.*-mode" (symbol-name major-mode)) ";;") |
| 1992 | ((memq major-mode '(c-mode cc-mode c++-mode)) "//") | 1992 | ((memq major-mode '(c-mode cc-mode c++-mode)) "//") |
| 1993 | ((memq major-mode '(sh-mode shell-mode)) "#") | 1993 | ((memq major-mode '(sh-mode shell-mode)) "#") |
| 1994 | (t (setq donot-change-dafault nil) | 1994 | (t (setq donot-change-default nil) |
| 1995 | quote-str)))) | 1995 | quote-str)))) |
| 1996 | (or donot-change-dafault | 1996 | (or donot-change-default |
| 1997 | (setq viper-quote-string quote-str)) | 1997 | (setq viper-quote-string quote-str)) |
| 1998 | (viper-enlarge-region (point) (mark t)) | 1998 | (viper-enlarge-region (point) (mark t)) |
| 1999 | (if (> (point) (mark t)) (exchange-point-and-mark)) | 1999 | (if (> (point) (mark t)) (exchange-point-and-mark)) |