summaryrefslogtreecommitdiff
path: root/lisp/replace.el
diff options
context:
space:
mode:
authorRomain Francoise <romain@orebokech.com>2005-11-05 14:02:18 +0000
committerRomain Francoise <romain@orebokech.com>2005-11-05 14:02:18 +0000
commit61f570e29072bcf19de85a05d2d9d9de3a17e85e (patch)
treeb16d99c53856e95b63c080c9bd1dbcd422a9b9b7 /lisp/replace.el
parentf6e405a269c826b0184480c1983db4421e4449ba (diff)
downloademacs-61f570e29072bcf19de85a05d2d9d9de3a17e85e.tar.gz
(occur-engine): Add marker at end of line, too.
Diffstat (limited to 'lisp/replace.el')
-rw-r--r--lisp/replace.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/replace.el b/lisp/replace.el
index 1d5c2a7c7c4..3016f5f6198 100644
--- a/lisp/replace.el
+++ b/lisp/replace.el
@@ -1140,7 +1140,8 @@ See also `multi-occur'."
'follow-link t
'help-echo
"mouse-2: go to this occurrence")
- "\n"))
+ ;; Add marker at eol, but no mouse props.
+ (propertize "\n" 'occur-target marker)))
(data
(if (= nlines 0)
;; The simple display style