]> git.eshelyaron.com Git - emacs.git/commitdiff
(speedbar-edit-line): Change regexp to position
authorRichard M. Stallman <rms@gnu.org>
Sat, 3 Jan 2004 21:12:08 +0000 (21:12 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 3 Jan 2004 21:12:08 +0000 (21:12 +0000)
the cursor on the first character of this line's button.

lisp/speedbar.el

index 5eef1359fad658929870b2c1ccbde0c926460ca6..f8e9386585db23ad49fce19ae0545be4bd15a436 100644 (file)
@@ -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)))