Commit e8e2a88c authored by Colin Walters's avatar Colin Walters
Browse files

(occur-engine): Include all text properties except mouse-face on the

newline at the end of occurences.
parent b2346b2c
......@@ -824,10 +824,11 @@ See also `multi-occur'."
(unless (= nlines 0)
(insert "-------\n"))
(add-text-properties
beg (1- end)
`(occur-target ,marker
mouse-face highlight help-echo
"mouse-2: go to this occurrence")))))
beg end
`(occur-target ,marker help-echo "mouse-2: go to this occurrence"))
;; We don't put `mouse-face' on the newline,
;; because that loses.
(add-text-properties beg (1- end) '(mouse-face highlight)))))
(goto-char endpt))
(if endpt
(progn
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment