diff options
| author | Karl Heuer | 1996-01-29 23:14:52 +0000 |
|---|---|---|
| committer | Karl Heuer | 1996-01-29 23:14:52 +0000 |
| commit | b0b3cce2dd18d3c94ec34a1fab6ee236d7cae1bf (patch) | |
| tree | 622eed08612edee052e7fe2770de2788a8096c30 | |
| parent | d62af4649b1044cc3d429ffea01a470e93c011d7 (diff) | |
| download | emacs-b0b3cce2dd18d3c94ec34a1fab6ee236d7cae1bf.tar.gz emacs-b0b3cce2dd18d3c94ec34a1fab6ee236d7cae1bf.zip | |
(visit-tags-table-buffer, tags-loop-scan, complete-tag): Fix error format
string.
| -rw-r--r-- | lisp/progmodes/etags.el | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index c45d59631ab..64f2e1d7afb 100644 --- a/lisp/progmodes/etags.el +++ b/lisp/progmodes/etags.el | |||
| @@ -423,7 +423,8 @@ Returns t if it visits a tags table, or nil if there are no more in the list." | |||
| 423 | (cond ((eq cont 'same) | 423 | (cond ((eq cont 'same) |
| 424 | ;; Use the ambient value of tags-file-name. | 424 | ;; Use the ambient value of tags-file-name. |
| 425 | (or tags-file-name | 425 | (or tags-file-name |
| 426 | (error (substitute-command-keys | 426 | (error "%s" |
| 427 | (substitute-command-keys | ||
| 427 | (concat "No tags table in use! " | 428 | (concat "No tags table in use! " |
| 428 | "Use \\[visit-tags-table] to select one."))))) | 429 | "Use \\[visit-tags-table] to select one."))))) |
| 429 | 430 | ||
| @@ -1308,7 +1309,8 @@ if the file was newly read in, the value is the filename." | |||
| 1308 | "Form for `tags-loop-continue' to eval to change one file.") | 1309 | "Form for `tags-loop-continue' to eval to change one file.") |
| 1309 | 1310 | ||
| 1310 | (defvar tags-loop-scan | 1311 | (defvar tags-loop-scan |
| 1311 | '(error (substitute-command-keys | 1312 | '(error "%s" |
| 1313 | (substitute-command-keys | ||
| 1312 | "No \\[tags-search] or \\[tags-query-replace] in progress.")) | 1314 | "No \\[tags-search] or \\[tags-query-replace] in progress.")) |
| 1313 | "Form for `tags-loop-continue' to eval to scan one file. | 1315 | "Form for `tags-loop-continue' to eval to scan one file. |
| 1314 | If it returns non-nil, this file needs processing by evalling | 1316 | If it returns non-nil, this file needs processing by evalling |
| @@ -1555,7 +1557,8 @@ for \\[find-tag] (which see)." | |||
| 1555 | (interactive) | 1557 | (interactive) |
| 1556 | (or tags-table-list | 1558 | (or tags-table-list |
| 1557 | tags-file-name | 1559 | tags-file-name |
| 1558 | (error (substitute-command-keys | 1560 | (error "%s" |
| 1561 | (substitute-command-keys | ||
| 1559 | "No tags table loaded. Try \\[visit-tags-table]."))) | 1562 | "No tags table loaded. Try \\[visit-tags-table]."))) |
| 1560 | (let ((pattern (funcall (or find-tag-default-function | 1563 | (let ((pattern (funcall (or find-tag-default-function |
| 1561 | (get major-mode 'find-tag-default-function) | 1564 | (get major-mode 'find-tag-default-function) |