Commit 73e9b6a4 authored by Nick Roberts's avatar Nick Roberts

(t-mouse-make-event): Pass on mev's more informative

error message.
parent af0f5c39
......@@ -166,6 +166,8 @@ Also trim the accumulator by all the data used to build the event."
(if (or (eq (car ob-pos) 'STILL) (eq (car ob-pos) '***) (not ob-pos))
nil
(setq ob (car ob-pos))
(if (string-match "mev:$" (prin1-to-string ob))
(error "Can't open mouse connection"))
(setq t-mouse-filter-accumulator
(substring t-mouse-filter-accumulator (cdr ob-pos)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment