diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2013-06-11 18:51:12 +0200 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2013-06-11 18:51:12 +0200 |
commit | fa6bc6fd5023120ba9ecfb34cf88a84e5b3ab2a4 (patch) | |
tree | 913f3fa55c517b249cc39a1b3ba4bf5718f66579 /lisp/replace.el | |
parent | cf1f9b9a81606d6fd0e5b2854cdc6e9a2e3e9291 (diff) | |
download | emacs-fa6bc6fd5023120ba9ecfb34cf88a84e5b3ab2a4.tar.gz |
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 FROM-STRING has no uppercase letters. Replacement transfers the case pattern of the old text to the new text, if `case-replace' and `case-fold-search' are non-nil and FROM-STRING has no uppercase -letters. \(Transferring the case pattern means that if the old text +letters. (Transferring the case pattern means that if the old text matched is all caps, or capitalized, then its replacement is upcased or capitalized.) @@ -1175,8 +1175,8 @@ is called only during interactive use. For example, to check for occurrence of symbol at point use - \(setq occur-read-regexp-defaults-function - 'find-tag-default-as-regexp\).") + (setq occur-read-regexp-defaults-function + 'find-tag-default-as-regexp).") (defun occur-read-regexp-defaults () "Return the latest regexp from `regexp-history'. @@ -1874,7 +1874,7 @@ It is called with three arguments, as if it were (defun replace-search (search-string limit regexp-flag delimited-flag case-fold-search) - "Search for the next occurence of SEARCH-STRING to replace." + "Search for the next occurrence of SEARCH-STRING to replace." ;; Let-bind global isearch-* variables to values used ;; to search the next replacement. These let-bindings ;; should be effective both at the time of calling |