summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-01-27 11:39:27 -0200
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-01-27 11:39:27 -0200
commit98715c6c242618e18fa11535b2a36e7cf1b461b1 (patch)
tree12bc95605deae850207844225fa993a89b5eed46
parent11527553647f61798562f04c50b789edb8c15ac3 (diff)
downloademacs-98715c6c242618e18fa11535b2a36e7cf1b461b1.tar.gz
isearch.el (isearch-process-search-char): Add docstring.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/isearch.el2
2 files changed, 6 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 2b02373fbe1..da9683dc111 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2015-01-27 Artur Malabarba <bruce.connor.am@gmail.com>
+
+ * isearch.el (isearch-process-search-char): Add docstring.
+
2015-01-27 Oleh Krehel <ohwoeowho@gmail.com>
* emacs-lisp/derived.el (define-derived-mode): Declare indent 3.
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 191ec8270eb..99ca73f9f54 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -2349,6 +2349,8 @@ With argument, add COUNT copies of the character."
(isearch-process-search-char char count))))
(defun isearch-process-search-char (char &optional count)
+ "Add CHAR to the search string, COUNT times.
+Search is updated accordingly."
;; * and ? are special in regexps when not preceded by \.
;; } and | are special in regexps when preceded by \.
;; Nothing special for + because it matches at least once.