mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Tweak mouse highlights in ediff-help
* lisp/vc/ediff-help.el (ediff-set-help-overlays): Only put the mouse-face overlay on the actual commands (bug#5079). This avoids a problem when you have very wide frames: The leading blank portion of the buffer would get the mouse highlights.
This commit is contained in:
parent
4fbe0ef20d
commit
d8e741548c
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ the value of this variable and the variables `ediff-help-message-*' in
|
|||
(goto-char (point-min))
|
||||
(let (overl beg end cmd)
|
||||
(while (re-search-forward " *\\([^ \t\n|]+\\||\\) +-[^|\n]+" nil 'noerror)
|
||||
(setq beg (match-beginning 0)
|
||||
(setq beg (match-beginning 1)
|
||||
end (match-end 0)
|
||||
cmd (buffer-substring (match-beginning 1) (match-end 1)))
|
||||
(setq overl (ediff-make-overlay beg end))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue