--- Begin Message ---
Subject: |
[PATCH] Enable mouse-face on the mode-line area of which-func |
Date: |
Thu, 14 Jun 2012 02:35:11 +0900 (JST) |
This is not a bug report.
This is a request for merging the attached patch
to the emacs official source tree.
See the patch.
The original code is written in 2004.
I implemented mouse-face on mode-line in 2005-06-07:)
2012-06-13 Masatake YAMATO <address@hidden>
* progmodes/which-func.el (which-func-format): Enable
mouse-face.
=== modified file 'lisp/progmodes/which-func.el'
*** lisp/progmodes/which-func.el 2012-06-03 11:10:44 +0000
--- lisp/progmodes/which-func.el 2012-06-13 17:20:38 +0000
***************
*** 144,150 ****
(:propertize which-func-current
local-map ,which-func-keymap
face which-func
! ;;mouse-face highlight ; currently not evaluated :-(
help-echo "mouse-1: go to beginning\n\
mouse-2: toggle rest visibility\n\
mouse-3: go to end")
--- 144,150 ----
(:propertize which-func-current
local-map ,which-func-keymap
face which-func
! mouse-face highlight
help-echo "mouse-1: go to beginning\n\
mouse-2: toggle rest visibility\n\
mouse-3: go to end")
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#11698: [PATCH] Enable mouse-face on the mode-line area of which-func |
Date: |
Mon, 25 Jun 2012 03:13:13 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Version: 24.2
Masatake YAMATO wrote:
> ! mouse-face mode-line-highlight
Applied to emacs-24 branch, thanks. (I hadn't appreciated that
mode-line-highlight is already used all over the place in the mode-line.)
--- End Message ---