diff options
| author | Juanma Barranquero | 2013-06-11 18:51:12 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2013-06-11 18:51:12 +0200 |
| commit | fa6bc6fd5023120ba9ecfb34cf88a84e5b3ab2a4 (patch) | |
| tree | 913f3fa55c517b249cc39a1b3ba4bf5718f66579 /lisp/replace.el | |
| parent | cf1f9b9a81606d6fd0e5b2854cdc6e9a2e3e9291 (diff) | |
| download | emacs-fa6bc6fd5023120ba9ecfb34cf88a84e5b3ab2a4.tar.gz emacs-fa6bc6fd5023120ba9ecfb34cf88a84e5b3ab2a4.zip | |
Fix typos.
* lisp/replace.el (query-replace, occur-read-regexp-defaults-function)
(replace-search):
* lisp/subr.el (declare-function, number-sequence, local-set-key)
(substitute-key-definition, locate-user-emacs-file)
(with-silent-modifications, split-string, eval-after-load):
Fix typos, remove unneeded backslashes and reflow some docstrings.
Diffstat (limited to 'lisp/replace.el')
| -rw-r--r-- | lisp/replace.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/replace.el b/lisp/replace.el index af05bd11fb2..24cfccf60fd 100644 --- a/lisp/replace.el +++ b/lisp/replace.el | |||
| @@ -246,7 +246,7 @@ Matching is independent of case if `case-fold-search' is non-nil and | |||
| 246 | FROM-STRING has no uppercase letters. Replacement transfers the case | 246 | FROM-STRING has no uppercase letters. Replacement transfers the case |
| 247 | pattern of the old text to the new text, if `case-replace' and | 247 | pattern of the old text to the new text, if `case-replace' and |
| 248 | `case-fold-search' are non-nil and FROM-STRING has no uppercase | 248 | `case-fold-search' are non-nil and FROM-STRING has no uppercase |
| 249 | letters. \(Transferring the case pattern means that if the old text | 249 | letters. (Transferring the case pattern means that if the old text |
| 250 | matched is all caps, or capitalized, then its replacement is upcased | 250 | matched is all caps, or capitalized, then its replacement is upcased |
| 251 | or capitalized.) | 251 | or capitalized.) |
| 252 | 252 | ||
| @@ -1175,8 +1175,8 @@ is called only during interactive use. | |||
| 1175 | 1175 | ||
| 1176 | For example, to check for occurrence of symbol at point use | 1176 | For example, to check for occurrence of symbol at point use |
| 1177 | 1177 | ||
| 1178 | \(setq occur-read-regexp-defaults-function | 1178 | (setq occur-read-regexp-defaults-function |
| 1179 | 'find-tag-default-as-regexp\).") | 1179 | 'find-tag-default-as-regexp).") |
| 1180 | 1180 | ||
| 1181 | (defun occur-read-regexp-defaults () | 1181 | (defun occur-read-regexp-defaults () |
| 1182 | "Return the latest regexp from `regexp-history'. | 1182 | "Return the latest regexp from `regexp-history'. |
| @@ -1874,7 +1874,7 @@ It is called with three arguments, as if it were | |||
| 1874 | 1874 | ||
| 1875 | (defun replace-search (search-string limit regexp-flag delimited-flag | 1875 | (defun replace-search (search-string limit regexp-flag delimited-flag |
| 1876 | case-fold-search) | 1876 | case-fold-search) |
| 1877 | "Search for the next occurence of SEARCH-STRING to replace." | 1877 | "Search for the next occurrence of SEARCH-STRING to replace." |
| 1878 | ;; Let-bind global isearch-* variables to values used | 1878 | ;; Let-bind global isearch-* variables to values used |
| 1879 | ;; to search the next replacement. These let-bindings | 1879 | ;; to search the next replacement. These let-bindings |
| 1880 | ;; should be effective both at the time of calling | 1880 | ;; should be effective both at the time of calling |