(mouse-start-end): Check START rather than point for being at eob.
authorKarl Heuer <kwzh@gnu.org>
Wed, 9 Feb 1994 22:21:47 +0000 (22:21 +0000)
committerKarl Heuer <kwzh@gnu.org>
Wed, 9 Feb 1994 22:21:47 +0000 (22:21 +0000)
lisp/mouse.el

index a92cb74..137fd54 100644 (file)
@@ -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))