summaryrefslogtreecommitdiffstats
path: root/emacs/caml-emacs.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/caml-emacs.el')
-rw-r--r--emacs/caml-emacs.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/emacs/caml-emacs.el b/emacs/caml-emacs.el
index aa35c7c2c..01a575ebf 100644
--- a/emacs/caml-emacs.el
+++ b/emacs/caml-emacs.el
@@ -5,10 +5,10 @@
(defalias 'caml-line-beginning-position 'line-beginning-position)
-(defun caml-event-window (e) (event-window (event-start e)))
+(defun caml-event-window (e) (posn-window (event-start e)))
(defun caml-event-point-start (e) (posn-point (event-stact e)))
(defun caml-event-point-end (e) (posn-point (event-end e)))
-(defmacro caml-track-mouse (el) (track-mouse el))
+(defalias 'caml-track-mouse 'track-mouse)
(defalias 'caml-read-event 'read-event)
(defun caml-mouse-movement-p mouse-mouvement)