diff options
| author | Nicolas Richard | 2014-12-13 16:54:14 +0100 |
|---|---|---|
| committer | Nicolas Richard | 2014-12-13 17:13:01 +0100 |
| commit | 30f603836c64a045fa59b5258d09b99da582eb75 (patch) | |
| tree | ab5faa921cafeabbb3006cd0652432ca289ef3f7 | |
| parent | 05beff88de02f0a70f20c06c5e8af73ef3002bff (diff) | |
| download | emacs-30f603836c64a045fa59b5258d09b99da582eb75.tar.gz emacs-30f603836c64a045fa59b5258d09b99da582eb75.zip | |
isearch-open-necessary-overlays: Open overlay ending at point
* lisp/isearch.el (isearch-open-necessary-overlays): Open overlay
ending at point (bug#19333).
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/isearch.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7ec7feb2b84..27337e9ab0a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr> | ||
| 2 | |||
| 3 | * isearch.el (isearch-open-necessary-overlays): Open overlay | ||
| 4 | ending at point (bug#19333). | ||
| 5 | |||
| 1 | 2014-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org> | 6 | 2014-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 7 | ||
| 3 | * net/shr.el (shr-fold-text): New function. | 8 | * net/shr.el (shr-fold-text): New function. |
diff --git a/lisp/isearch.el b/lisp/isearch.el index c3e473a2ba6..ef0c4a78b89 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el | |||
| @@ -2734,7 +2734,7 @@ update the match data, and return point." | |||
| 2734 | ;; in any of these overlays, se we are safe in this case too. | 2734 | ;; in any of these overlays, se we are safe in this case too. |
| 2735 | (defun isearch-open-necessary-overlays (ov) | 2735 | (defun isearch-open-necessary-overlays (ov) |
| 2736 | (let ((inside-overlay (and (> (point) (overlay-start ov)) | 2736 | (let ((inside-overlay (and (> (point) (overlay-start ov)) |
| 2737 | (< (point) (overlay-end ov)))) | 2737 | (<= (point) (overlay-end ov)))) |
| 2738 | ;; If this exists it means that the overlay was opened using | 2738 | ;; If this exists it means that the overlay was opened using |
| 2739 | ;; this function, not by us tweaking the overlay properties. | 2739 | ;; this function, not by us tweaking the overlay properties. |
| 2740 | (fct-temp (overlay-get ov 'isearch-open-invisible-temporary))) | 2740 | (fct-temp (overlay-get ov 'isearch-open-invisible-temporary))) |