diff options
| -rw-r--r-- | lisp/progmodes/etags.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index 808918ce9cd..5f4889477f9 100644 --- a/lisp/progmodes/etags.el +++ b/lisp/progmodes/etags.el | |||
| @@ -1150,7 +1150,7 @@ See documentation of variable `tags-file-name'." | |||
| 1150 | (defun tag-exact-match-p (tag) | 1150 | (defun tag-exact-match-p (tag) |
| 1151 | ;; The match is really exact if there is an explicit tag name. | 1151 | ;; The match is really exact if there is an explicit tag name. |
| 1152 | (or (and (eq (char-after (point)) ?\001) | 1152 | (or (and (eq (char-after (point)) ?\001) |
| 1153 | (eq (char-after (- (point) (length tag)) ?\177))) | 1153 | (eq (char-after (- (point) (length tag) 1)) ?\177)) |
| 1154 | ;; We are not on the explicit tag name, but perhaps it follows. | 1154 | ;; We are not on the explicit tag name, but perhaps it follows. |
| 1155 | (looking-at (concat "[^\177\n]*\177" (regexp-quote tag) "\001")) | 1155 | (looking-at (concat "[^\177\n]*\177" (regexp-quote tag) "\001")) |
| 1156 | ;; We also call it "exact" if it is surrounded by symbol boundaries. | 1156 | ;; We also call it "exact" if it is surrounded by symbol boundaries. |