Mercurial > hg > xemacs-beta
comparison lisp/mode-motion.el @ 286:57709be46d1b r21-0b41
Import from CVS: tag r21-0b41
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:35:03 +0200 |
parents | 084402c475ba |
children |
comparison
equal
deleted
inserted
replaced
285:9a3756523c1b | 286:57709be46d1b |
---|---|
30 | 30 |
31 ;;; Code: | 31 ;;; Code: |
32 | 32 |
33 (defvar mode-motion-hook nil | 33 (defvar mode-motion-hook nil |
34 "Function or functions which are called whenever the mouse moves. | 34 "Function or functions which are called whenever the mouse moves. |
35 Each function must take a single argument of the motion event. | |
35 You should normally use this rather than `mouse-motion-handler', which | 36 You should normally use this rather than `mouse-motion-handler', which |
36 does some additional window-system-dependent things. This hook is local | 37 does some additional window-system-dependent things. This hook is local |
37 to every buffer, and should normally be set up by major-modes which want | 38 to every buffer, and should normally be set up by major-modes which want |
38 to use special highlighting. Every time the mouse moves over a window, | 39 to use special highlighting. Every time the mouse moves over a window, |
39 the mode-motion-hook of the buffer of that window is run.") | 40 the mode-motion-hook of the buffer of that window is run.") |