This commit is contained in:
djcb 2014-01-25 20:08:16 -08:00
parent 5a066de5ff
commit b1e5873f39
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ clicked."
(define-key map [mouse-2] func)
(define-key map (kbd "RET") func)
(put-text-property 0 (length newstr) 'keymap map newstr)
(put-text-property (string-match "\\[.+" newstr)
(put-text-property (string-match "\\[.+$" newstr)
(- (length newstr) 1) 'mouse-face 'highlight newstr) newstr))