diff options
| author | Roland McGrath | 1992-08-12 18:48:38 +0000 |
|---|---|---|
| committer | Roland McGrath | 1992-08-12 18:48:38 +0000 |
| commit | ab13123aa8ca28e6347d662cd36023d845f9b5d5 (patch) | |
| tree | 6811ca251ac706d39fc62dc8aff15ed28c5a6261 | |
| parent | 1da56800411c05d04e44a8969ea42b9095c272c2 (diff) | |
| download | emacs-ab13123aa8ca28e6347d662cd36023d845f9b5d5.tar.gz emacs-ab13123aa8ca28e6347d662cd36023d845f9b5d5.zip | |
*** empty log message ***
| -rw-r--r-- | lisp/progmodes/etags.el | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index 9b1cda9ac93..b4308f1a47b 100644 --- a/lisp/progmodes/etags.el +++ b/lisp/progmodes/etags.el | |||
| @@ -459,7 +459,7 @@ See documentation of variable `tags-file-name'." | |||
| 459 | (find-tag-tag "Find tag: "))) | 459 | (find-tag-tag "Find tag: "))) |
| 460 | (let ((local-find-tag-hook find-tag-hook)) | 460 | (let ((local-find-tag-hook find-tag-hook)) |
| 461 | (if next-p | 461 | (if next-p |
| 462 | nil | 462 | (visit-tags-table-buffer 'same) |
| 463 | (setq last-tag tagname) | 463 | (setq last-tag tagname) |
| 464 | (visit-tags-table-buffer 'reset)) | 464 | (visit-tags-table-buffer 'reset)) |
| 465 | (prog1 | 465 | (prog1 |
| @@ -1102,8 +1102,12 @@ see the doc of that variable if you want to add names to the list." | |||
| 1102 | "Perform tags completion on the text around point. | 1102 | "Perform tags completion on the text around point. |
| 1103 | Completes to the set of names listed in the current tags table. | 1103 | Completes to the set of names listed in the current tags table. |
| 1104 | The string to complete is chosen in the same way as the default | 1104 | The string to complete is chosen in the same way as the default |
| 1105 | for \\[find-tag] (which see). See also `visit-tags-table-buffer'." | 1105 | for \\[find-tag] (which see)." |
| 1106 | (interactive) | 1106 | (interactive) |
| 1107 | (or tags-table-list | ||
| 1108 | tags-file-name | ||
| 1109 | (error (substitute-command-keys | ||
| 1110 | "No tags table loaded. Try \\[visit-tags-table]."))) | ||
| 1107 | (let ((pattern (funcall (or find-tag-default-function | 1111 | (let ((pattern (funcall (or find-tag-default-function |
| 1108 | (get major-mode 'find-tag-default-function) | 1112 | (get major-mode 'find-tag-default-function) |
| 1109 | 'find-tag-default))) | 1113 | 'find-tag-default))) |