]> git.eshelyaron.com Git - emacs.git/commitdiff
(etags-list-tags): When there is an explicit tag name, skip the \177 before
authorRoland McGrath <roland@gnu.org>
Sat, 8 Jun 1996 14:24:21 +0000 (14:24 +0000)
committerRoland McGrath <roland@gnu.org>
Sat, 8 Jun 1996 14:24:21 +0000 (14:24 +0000)
it.

lisp/progmodes/etags.el

index 8954b1364b63707c0cd98885dbccf3c1f9801049..0afff9a937490853675760a064b6c416b37762a8 100644 (file)
@@ -1132,7 +1132,7 @@ See documentation of variable `tags-file-name'."
                                          (point)))))
        (princ (if (looking-at "[^\n]+\001")
                   ;; There is an explicit tag name; use that.
-                  (buffer-substring (point)
+                  (buffer-substring (1+ (point)) ;skip \177
                                     (progn (skip-chars-forward "^\001")
                                            (point)))
                 tag)))