aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1997-07-19 05:34:23 +0000
committerRichard M. Stallman1997-07-19 05:34:23 +0000
commit79c7a4fa5f974a9d3b4339a5c561ce07d7b02013 (patch)
tree059af5110ea00ae3ac8709e0ee0d09cbac589a6e
parentdf77d0b27ada80b74d4962808a701c7f7f8c1141 (diff)
downloademacs-79c7a4fa5f974a9d3b4339a5c561ce07d7b02013.tar.gz
emacs-79c7a4fa5f974a9d3b4339a5c561ce07d7b02013.zip
(search-invisible): Fix typo.
(isearch-search): Bind inhibit-point-motion-hooks because we might have to search inside invisible and intangible text. (isearch-open-overlay-temporary): Delete forgoten debug message. (isearch-range-invisible): Fix typo in doc-string.
-rw-r--r--lisp/isearch.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 9e0c3102fae..a9217998efd 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -170,7 +170,7 @@ an overlay having an `invisible' property and that overlay has a property
170\(This applies when using `outline.el' and `hideshow.el'.)" 170\(This applies when using `outline.el' and `hideshow.el'.)"
171 :type '(choice (const :tag "Match hidden text" t) 171 :type '(choice (const :tag "Match hidden text" t)
172 (const :tag "Open overlays" open) 172 (const :tag "Open overlays" open)
173 (const :tag "Don't match hidden text" t)) 173 (const :tag "Don't match hidden text" nil))
174 :group 'isearch) 174 :group 'isearch)
175 175
176(defcustom isearch-hide-immediately t 176(defcustom isearch-hide-immediately t
@@ -1434,7 +1434,8 @@ If there is no completion possible, say so and continue searching."
1434 (setq isearch-case-fold-search 1434 (setq isearch-case-fold-search
1435 (isearch-no-upper-case-p isearch-string isearch-regexp))) 1435 (isearch-no-upper-case-p isearch-string isearch-regexp)))
1436 (condition-case lossage 1436 (condition-case lossage
1437 (let ((inhibit-quit nil) 1437 (let ((inhibit-point-motion-hooks search-invisible)
1438 (inhibit-quit nil)
1438 (case-fold-search isearch-case-fold-search) 1439 (case-fold-search isearch-case-fold-search)
1439 (retry t)) 1440 (retry t))
1440 (if isearch-regexp (setq isearch-invalid-regexp nil)) 1441 (if isearch-regexp (setq isearch-invalid-regexp nil))
@@ -1490,7 +1491,6 @@ If there is no completion possible, say so and continue searching."
1490 1491
1491;;; Called when opening an overlay, and we are still in isearch. 1492;;; Called when opening an overlay, and we are still in isearch.
1492(defun isearch-open-overlay-temporary (ov) 1493(defun isearch-open-overlay-temporary (ov)
1493 (message "temporary called")
1494 (if (not (null (overlay-get ov 'isearch-open-invisible-temporary))) 1494 (if (not (null (overlay-get ov 'isearch-open-invisible-temporary)))
1495 ;; Some modes would want to open the overlays temporary during 1495 ;; Some modes would want to open the overlays temporary during
1496 ;; isearch in their own way, they should set the 1496 ;; isearch in their own way, they should set the
@@ -1568,7 +1568,7 @@ If there is no completion possible, say so and continue searching."
1568 (overlay-put ov 'isearch-intangible nil)))))) 1568 (overlay-put ov 'isearch-intangible nil))))))
1569 1569
1570(defun isearch-range-invisible (beg end) 1570(defun isearch-range-invisible (beg end)
1571 "Return t if all the bext from BEG to END is invisible." 1571 "Return t if all the text from BEG to END is invisible."
1572 (and (/= beg end) 1572 (and (/= beg end)
1573 ;; Check that invisibility runs up to END. 1573 ;; Check that invisibility runs up to END.
1574 (save-excursion 1574 (save-excursion