summaryrefslogtreecommitdiff
path: root/lisp/speedbar.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1999-02-16 00:33:44 +0000
committerRichard M. Stallman <rms@gnu.org>1999-02-16 00:33:44 +0000
commit2654fa92b2d9bd1cd6f43f3ae48ca1f8b754d306 (patch)
tree4eda6bdb995b6879bce72ee302eeb031d1f2be2d /lisp/speedbar.el
parent2359dd3507cec6dc87ca0fa090fce206ebc02cf2 (diff)
downloademacs-2654fa92b2d9bd1cd6f43f3ae48ca1f8b754d306.tar.gz
emacs-2654fa92b2d9bd1cd6f43f3ae48ca1f8b754d306.tar.bz2
emacs-2654fa92b2d9bd1cd6f43f3ae48ca1f8b754d306.zip
(speedbar-item-info-tag-helper): Scan the whole line.
Diffstat (limited to 'lisp/speedbar.el')
-rw-r--r--lisp/speedbar.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/speedbar.el b/lisp/speedbar.el
index 4bf9a9fcc0c..608c11dfbb3 100644
--- a/lisp/speedbar.el
+++ b/lisp/speedbar.el
@@ -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))