emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/mouse.el


From: Kim F . Storm
Subject: [Emacs-diffs] Changes to emacs/lisp/mouse.el
Date: Wed, 12 Jan 2005 06:10:41 -0500

Index: emacs/lisp/mouse.el
diff -c emacs/lisp/mouse.el:1.263 emacs/lisp/mouse.el:1.264
*** emacs/lisp/mouse.el:1.263   Wed Jan 12 10:17:02 2005
--- emacs/lisp/mouse.el Wed Jan 12 10:54:02 2005
***************
*** 771,792 ****
  
  A clickable link is identified by one of the following methods:
  
! If the character at POS has a non-nil `follow-link' text or
! overlay property, use the value of that property as action code,
! or if there is a local key-binding or a keybinding at position
! POS for the `follow-link' event, use the binding of that event as
! action code.
  
! The action code is used to determine whether POS is inside a link:
  
! - If the action code is `mouse-face', POS is inside a link if there
  is a non-nil `mouse-face' property at POS.  Return t in this case.
  
! - If the action code is a function, FUNC, POS is inside a link if
  the call \(FUNC POS) returns non-nil.  Return the return value
  from that call.
  
! - Otherwise, return the action code itself.
  
  The return value is interpreted as follows:
  
--- 771,794 ----
  
  A clickable link is identified by one of the following methods:
  
! - If the character at POS has a non-nil `follow-link' text or
! overlay property, use the value of that property determines what
! to do.
  
! - If there is a local key-binding or a keybinding at position POS
! for the `follow-link' event, the binding of that event determines
! what to do.
  
! The resulting value determine whether POS is inside a link:
! 
! - If the value is `mouse-face', POS is inside a link if there
  is a non-nil `mouse-face' property at POS.  Return t in this case.
  
! - If the value is a function, FUNC, POS is inside a link if
  the call \(FUNC POS) returns non-nil.  Return the return value
  from that call.
  
! - Otherwise, return the value itself.
  
  The return value is interpreted as follows:
  




reply via email to

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