[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Missing follow-links in descr-text
From: |
Juri Linkov |
Subject: |
Re: Missing follow-links in descr-text |
Date: |
Mon, 13 Feb 2006 19:59:09 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
> Please consider adding a few follow-link properties to descr-text.el.
> The current behavior of `describe-char', for example, is a bit chaotic
> with `mouse-1-click-follows-link' non-nil.
Instead of adding `follow-link t' to each and every place, what do you
think about fixing this at the top level with the following patch?
Index: lisp/button.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/button.el,v
retrieving revision 1.21
diff -c -r1.21 button.el
*** lisp/button.el 6 Feb 2006 14:33:32 -0000 1.21
--- lisp/button.el 13 Feb 2006 17:57:07 -0000
***************
*** 79,84 ****
--- 79,85 ----
;; Default properties for buttons
(put 'default-button 'face 'button)
(put 'default-button 'mouse-face 'highlight)
+ (put 'default-button 'follow-link t)
(put 'default-button 'keymap button-map)
(put 'default-button 'type 'button)
;; action may be either a function to call, or a marker to go to
--
Juri Linkov
http://www.jurta.org/emacs/