]> code.delx.au - gnu-emacs/commitdiff
(speedbar-item-info-tag-helper): Scan the whole line.
authorRichard M. Stallman <rms@gnu.org>
Tue, 16 Feb 1999 00:33:44 +0000 (00:33 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 16 Feb 1999 00:33:44 +0000 (00:33 +0000)
lisp/speedbar.el

index 4bf9a9fcc0c77191b73ef9f957851f772f00c7e6..608c11dfbb31557cdc3291c1215b3b8717cdaae7 100644 (file)
@@ -5,7 +5,7 @@
 ;; Author: Eric M. Ludlam <zappo@gnu.org>
 ;; Version: 0.8.1
 ;; Keywords: file, tags, tools
-;; X-RCS: $Id: speedbar.el,v 1.19 1999/01/23 13:23:26 zappo Exp rms $
+;; X-RCS: $Id: speedbar.el,v 1.20 1999/01/31 04:39:37 rms Exp rms $
 
 ;; This file is part of GNU Emacs.
 
@@ -1698,6 +1698,7 @@ it from the speedbar buffer."
   "Display info about a tag that is on the current line.
 nil if not applicable."
   (save-excursion
+    (beginning-of-line)
     (if (re-search-forward " > \\([^ ]+\\)$"
                           (save-excursion(end-of-line)(point)) t)
        (let ((tag (match-string 1))