diff options
Diffstat (limited to 'lisp/mouse.el')
-rw-r--r-- | lisp/mouse.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/mouse.el b/lisp/mouse.el index d45c04cd9df..5613e73c3c1 100644 --- a/lisp/mouse.el +++ b/lisp/mouse.el @@ -685,14 +685,14 @@ If DIR is positive skip forward; if negative, skip backward." (forward-sexp 1) (point)) (error end)))) - (list (1+ start) - (save-excursion + (list (save-excursion (condition-case nil (progn (goto-char (1+ start)) (backward-sexp 1) (point)) - (error end))))))) + (error end))) + (1+ start))))) ((= mode 1) (list (save-excursion (goto-char start) |