Mercurial > emacs
comparison lisp/progmodes/etags.el @ 18623:fc78e7f26a64
(next-file, tags-loop-scan): Fix error message.
(visit-tags-table-buffer, complete-tag): Likewise.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 05 Jul 1997 00:54:32 +0000 |
parents | e28140c58ed8 |
children | 33f430abc9ed |
comparison
equal
deleted
inserted
replaced
18622:fe2070df967e | 18623:fc78e7f26a64 |
---|---|
418 (cond ((eq cont 'same) | 418 (cond ((eq cont 'same) |
419 ;; Use the ambient value of tags-file-name. | 419 ;; Use the ambient value of tags-file-name. |
420 (or tags-file-name | 420 (or tags-file-name |
421 (error "%s" | 421 (error "%s" |
422 (substitute-command-keys | 422 (substitute-command-keys |
423 (concat "No tags table in use! " | 423 (concat "No tags table in use; " |
424 "Use \\[visit-tags-table] to select one."))))) | 424 "use \\[visit-tags-table] to select one"))))) |
425 | 425 |
426 ((eq t cont) | 426 ((eq t cont) |
427 ;; Find the next table. | 427 ;; Find the next table. |
428 (if (tags-next-table) | 428 (if (tags-next-table) |
429 ;; Skip over nonexistent files. | 429 ;; Skip over nonexistent files. |
1300 (if next-file-list | 1300 (if next-file-list |
1301 () | 1301 () |
1302 (and novisit | 1302 (and novisit |
1303 (get-buffer " *next-file*") | 1303 (get-buffer " *next-file*") |
1304 (kill-buffer " *next-file*")) | 1304 (kill-buffer " *next-file*")) |
1305 (error "All files processed.")) | 1305 (error "All files processed")) |
1306 (let* ((next (car next-file-list)) | 1306 (let* ((next (car next-file-list)) |
1307 (new (not (get-file-buffer next)))) | 1307 (new (not (get-file-buffer next)))) |
1308 ;; Advance the list before trying to find the file. | 1308 ;; Advance the list before trying to find the file. |
1309 ;; If we get an error finding the file, don't get stuck on it. | 1309 ;; If we get an error finding the file, don't get stuck on it. |
1310 (setq next-file-list (cdr next-file-list)) | 1310 (setq next-file-list (cdr next-file-list)) |
1322 "Form for `tags-loop-continue' to eval to change one file.") | 1322 "Form for `tags-loop-continue' to eval to change one file.") |
1323 | 1323 |
1324 (defvar tags-loop-scan | 1324 (defvar tags-loop-scan |
1325 '(error "%s" | 1325 '(error "%s" |
1326 (substitute-command-keys | 1326 (substitute-command-keys |
1327 "No \\[tags-search] or \\[tags-query-replace] in progress.")) | 1327 "No \\[tags-search] or \\[tags-query-replace] in progress")) |
1328 "Form for `tags-loop-continue' to eval to scan one file. | 1328 "Form for `tags-loop-continue' to eval to scan one file. |
1329 If it returns non-nil, this file needs processing by evalling | 1329 If it returns non-nil, this file needs processing by evalling |
1330 \`tags-loop-operate'. Otherwise, move on to the next file.") | 1330 \`tags-loop-operate'. Otherwise, move on to the next file.") |
1331 | 1331 |
1332 ;;;###autoload | 1332 ;;;###autoload |
1571 (interactive) | 1571 (interactive) |
1572 (or tags-table-list | 1572 (or tags-table-list |
1573 tags-file-name | 1573 tags-file-name |
1574 (error "%s" | 1574 (error "%s" |
1575 (substitute-command-keys | 1575 (substitute-command-keys |
1576 "No tags table loaded. Try \\[visit-tags-table]."))) | 1576 "No tags table loaded; try \\[visit-tags-table]"))) |
1577 (let ((pattern (funcall (or find-tag-default-function | 1577 (let ((pattern (funcall (or find-tag-default-function |
1578 (get major-mode 'find-tag-default-function) | 1578 (get major-mode 'find-tag-default-function) |
1579 'find-tag-default))) | 1579 'find-tag-default))) |
1580 beg | 1580 beg |
1581 completion) | 1581 completion) |