Mercurial > emacs
changeset 5879:66aadd6ba5e6
(mouse-start-end): For double click with START on openparen,
start forward scan from START.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 10 Feb 1994 07:39:09 +0000 |
parents | 044cb853edbd |
children | 7051027369d6 |
files | lisp/mouse.el |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/mouse.el Thu Feb 10 04:43:50 1994 +0000 +++ b/lisp/mouse.el Thu Feb 10 07:39:09 1994 +0000 @@ -290,7 +290,11 @@ (= start end) (char-after start) (= (char-syntax (char-after start)) ?\()) - (list start (save-excursion (forward-sexp 1) (point)))) + (list start + (save-excursion + (goto-char start) + (forward-sexp 1) + (point)))) ((and (= mode 1) (= start end) (char-after start)