From: Richard M. Stallman Date: Sat, 3 Jan 2004 21:12:08 +0000 (+0000) Subject: (speedbar-edit-line): Change regexp to position X-Git-Tag: ttn-vms-21-2-B4~8014 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d03aece353a27fc02a483459d04bc782998feeef;p=emacs.git (speedbar-edit-line): Change regexp to position the cursor on the first character of this line's button. --- diff --git a/lisp/speedbar.el b/lisp/speedbar.el index 5eef1359fad..f8e9386585d 100644 --- a/lisp/speedbar.el +++ b/lisp/speedbar.el @@ -3410,7 +3410,9 @@ directory with these items." (if (re-search-forward "[]>?}] [^ ]" (save-excursion (end-of-line) (point)) t) - (speedbar-do-function-pointer) + (progn + (forward-char -1) + (speedbar-do-function-pointer)) nil)) (speedbar-do-function-pointer)))