Commit 1ec71583 authored by Karl Heuer's avatar Karl Heuer
Browse files

(mouse-start-end): Check START rather than point for being at eob.

parent 9149e743
......@@ -288,12 +288,12 @@ If DIR is positive skip forward; if negative, skip backward."
(list start end))
((and (= mode 1)
(= start end)
(not (eobp))
(char-after start)
(= (char-syntax (char-after start)) ?\())
(list start (save-excursion (forward-sexp 1) (point))))
((and (= mode 1)
(= start end)
(not (eobp))
(char-after start)
(= (char-syntax (char-after start)) ?\)))
(list (save-excursion
(goto-char (1+ start))
......
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