bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10275: speedbar highlights first selected item in speedbar-highlight


From: Chong Yidong
Subject: bug#10275: speedbar highlights first selected item in speedbar-highlight-face
Date: Sat, 10 Mar 2012 15:59:36 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

martin rudalics <address@hidden> writes:

> An easy work-around is
>
> (defun speedbar-unhighlight-one-tag-line ()
>   "Unhighlight the currently highlighted line."
>   (when (and speedbar-highlight-one-tag-line
>            (not (eq this-command 'handle-switch-frame)))
>     (speedbar-delete-overlay speedbar-highlight-one-tag-line)
>     (setq speedbar-highlight-one-tag-line nil)
>     (remove-hook 'pre-command-hook 'speedbar-unhighlight-one-tag-line)))

Since no one else has proposed anything better, I've committed this into
trunk for you.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]