Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
aa27fbb4
Commit
aa27fbb4
authored
Feb 07, 1995
by
Richard M. Stallman
Browse files
(etags-file-of-tag): Handle file name used as tag.
parent
d2d9b86c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
lisp/progmodes/etags.el
lisp/progmodes/etags.el
+4
-1
No files found.
lisp/progmodes/etags.el
View file @
aa27fbb4
...
...
@@ -997,9 +997,12 @@ See documentation of variable `tags-file-name'."
(
defun
etags-file-of-tag
()
(
save-excursion
(
re-search-backward
"\f\n\\([^\n]+\\),[0-9]*\n"
)
(
if
(
looking-at
"./"
)
(
re-search-forward
"\\([^\n]+\\),[0-9]*\n"
)
(
re-search-backward
"\f\n\\([^\n]+\\),[0-9]*\n"
))
(
buffer-substring
(
match-beginning
1
)
(
match-end
1
))))
(
defun
etags-tags-completion-table
()
(
let
((
table
(
make-vector
511
0
)))
(
save-excursion
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment