changeset 53487:25ff62ff164d

(speedbar-edit-line): Change regexp to position the cursor on the first character of this line's button.
author Richard M. Stallman <rms@gnu.org>
date Sat, 03 Jan 2004 21:12:08 +0000
parents 23376885b0f9
children daa5c6e18f62
files lisp/speedbar.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/speedbar.el	Sat Jan 03 21:11:43 2004 +0000
+++ b/lisp/speedbar.el	Sat Jan 03 21:12:08 2004 +0000
@@ -3410,7 +3410,9 @@
 	(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)))