Mercurial > emacs
comparison lisp/progmodes/etags.el @ 1152:d9733ad5643a
*** empty log message ***
author | Roland McGrath <roland@gnu.org> |
---|---|
date | Tue, 15 Sep 1992 22:52:46 +0000 |
parents | 3dd95c0296ef |
children | 2a92ddfaf6ba |
comparison
equal
deleted
inserted
replaced
1151:3dd95c0296ef | 1152:d9733ad5643a |
---|---|
303 If optional arg is the atom `same', don't look for a new table; | 303 If optional arg is the atom `same', don't look for a new table; |
304 just select the buffer. | 304 just select the buffer. |
305 If arg is nil or absent, choose a first buffer from information in | 305 If arg is nil or absent, choose a first buffer from information in |
306 `tags-file-name', `tags-table-list', `tags-table-list-pointer'. | 306 `tags-file-name', `tags-table-list', `tags-table-list-pointer'. |
307 Returns t if it visits a tags table, or nil if there are no more in the list." | 307 Returns t if it visits a tags table, or nil if there are no more in the list." |
308 (cond ((eq cont 'same)) | 308 (cond ((eq cont 'same) |
309 ;; We don't need to look for a setting for tags-file-name, | |
310 ;; but other than that we should behave just as if passed nil. | |
311 (setq cont nil)) | |
309 | 312 |
310 (cont | 313 (cont |
311 (if (tags-next-table) | 314 (if (tags-next-table) |
312 ;; Skip over nonexistent files. | 315 ;; Skip over nonexistent files. |
313 (while (and (let ((file (tags-expand-table-name tags-file-name))) | 316 (while (and (let ((file (tags-expand-table-name tags-file-name))) |
935 (save-excursion | 938 (save-excursion |
936 (visit-tags-table-buffer) | 939 (visit-tags-table-buffer) |
937 (setq next-file-list (tags-table-files)))) | 940 (setq next-file-list (tags-table-files)))) |
938 (or next-file-list | 941 (or next-file-list |
939 (save-excursion | 942 (save-excursion |
940 ;; When doing (visit-tag-table-buffer t), | 943 ;; When doing (visit-tags-table-buffer t), |
941 ;; the tags table buffer must be current. | 944 ;; the tags table buffer must be current. |
942 (if (and (visit-tags-table-buffer 'same) | 945 (if (and (visit-tags-table-buffer 'same) |
943 (visit-tags-table-buffer t)) | 946 (visit-tags-table-buffer t)) |
944 (setq next-file-list (tags-table-files)) | 947 (setq next-file-list (tags-table-files)) |
945 (and novisit | 948 (and novisit |