changeset 5869:91dcabd87088

(mouse-start-end): Check START rather than point for being at eob.
author Karl Heuer <kwzh@gnu.org>
date Wed, 09 Feb 1994 22:21:47 +0000
parents a7bd57a60cb8
children ebef92c4d26c
files lisp/mouse.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mouse.el	Wed Feb 09 22:04:55 1994 +0000
+++ b/lisp/mouse.el	Wed Feb 09 22:21:47 1994 +0000
@@ -288,12 +288,12 @@
 	 (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))