diff options
| author | Karoly Lorentey | 2005-11-01 06:23:08 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2005-11-01 06:23:08 +0000 |
| commit | cd0cf71c4f41023a8d9c20b3a26e44b980992b5a (patch) | |
| tree | b763cfec551254e2228335be4e218ed7a9a19109 /lisp/replace.el | |
| parent | c40bb1ba81a5df164f0b9b61e3480c55808717b7 (diff) | |
| parent | 895725e10c0fb68ed21abb48183cc8843bcaadf3 (diff) | |
| download | emacs-cd0cf71c4f41023a8d9c20b3a26e44b980992b5a.tar.gz emacs-cd0cf71c4f41023a8d9c20b3a26e44b980992b5a.zip | |
Merged from miles@gnu.org--gnu-2005 (patch 142-148, 615-628)
Patches applied:
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-615
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-616
Add lisp/mh-e/.arch-inventory
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-617
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-618
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-619
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-620
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-621
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-622
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-623
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-624
Update from CVS: lisp/smerge-mode.el: Add 'tools' to file keywords.
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-625
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-626
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-627
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-628
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-142
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-143
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-144
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-145
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-146
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-147
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-148
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-435
Diffstat (limited to 'lisp/replace.el')
| -rw-r--r-- | lisp/replace.el | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/lisp/replace.el b/lisp/replace.el index 2d79754b4f0..31963f7538c 100644 --- a/lisp/replace.el +++ b/lisp/replace.el | |||
| @@ -1129,11 +1129,17 @@ See also `multi-occur'." | |||
| 1129 | (append | 1129 | (append |
| 1130 | (when prefix-face | 1130 | (when prefix-face |
| 1131 | `(font-lock-face prefix-face)) | 1131 | `(font-lock-face prefix-face)) |
| 1132 | '(occur-prefix t))) | 1132 | `(occur-prefix t mouse-face (highlight) |
| 1133 | occur-target ,marker follow-link t | ||
| 1134 | help-echo "mouse-2: go to this occurrence"))) | ||
| 1133 | ;; We don't put `mouse-face' on the newline, | 1135 | ;; We don't put `mouse-face' on the newline, |
| 1134 | ;; because that loses. And don't put it | 1136 | ;; because that loses. And don't put it |
| 1135 | ;; on context lines to reduce flicker. | 1137 | ;; on context lines to reduce flicker. |
| 1136 | (propertize curstring 'mouse-face 'highlight) | 1138 | (propertize curstring 'mouse-face (list 'highlight) |
| 1139 | 'occur-target marker | ||
| 1140 | 'follow-link t | ||
| 1141 | 'help-echo | ||
| 1142 | "mouse-2: go to this occurrence") | ||
| 1137 | "\n")) | 1143 | "\n")) |
| 1138 | (data | 1144 | (data |
| 1139 | (if (= nlines 0) | 1145 | (if (= nlines 0) |
| @@ -1154,11 +1160,7 @@ See also `multi-occur'." | |||
| 1154 | (let ((beg (point)) | 1160 | (let ((beg (point)) |
| 1155 | (end (progn (insert data) (point)))) | 1161 | (end (progn (insert data) (point)))) |
| 1156 | (unless (= nlines 0) | 1162 | (unless (= nlines 0) |
| 1157 | (insert "-------\n")) | 1163 | (insert "-------\n"))))) |
| 1158 | (add-text-properties | ||
| 1159 | beg end | ||
| 1160 | `(occur-target ,marker follow-link t | ||
| 1161 | help-echo "mouse-2: go to this occurrence"))))) | ||
| 1162 | (goto-char endpt)) | 1164 | (goto-char endpt)) |
| 1163 | (if endpt | 1165 | (if endpt |
| 1164 | (progn | 1166 | (progn |