diff options
| author | Richard M. Stallman | 1994-05-12 02:14:13 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-05-12 02:14:13 +0000 |
| commit | e290aebbf9fe01ac79e72d43013f6cf802e33694 (patch) | |
| tree | adb37a891ee950a806ce5312cbc1a72fc69045f8 /lisp/gud.el | |
| parent | c9b67b7b0364b29cb7dd08909ddfcac4fb21f9c7 (diff) | |
| download | emacs-e290aebbf9fe01ac79e72d43013f6cf802e33694.tar.gz emacs-e290aebbf9fe01ac79e72d43013f6cf802e33694.zip | |
(sdb): Handle tags-file-name as nil.
Diffstat (limited to 'lisp/gud.el')
| -rw-r--r-- | lisp/gud.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/gud.el b/lisp/gud.el index 594f88a4f2c..421bb15b337 100644 --- a/lisp/gud.el +++ b/lisp/gud.el | |||
| @@ -404,7 +404,9 @@ and source-file directory for your debugger." | |||
| 404 | nil nil | 404 | nil nil |
| 405 | '(gud-sdb-history . 1)))) | 405 | '(gud-sdb-history . 1)))) |
| 406 | (if (and gud-sdb-needs-tags | 406 | (if (and gud-sdb-needs-tags |
| 407 | (not (and (boundp 'tags-file-name) (file-exists-p tags-file-name)))) | 407 | (not (and (boundp 'tags-file-name) |
| 408 | (stringp tags-file-name) | ||
| 409 | (file-exists-p tags-file-name)))) | ||
| 408 | (error "The sdb support requires a valid tags table to work.")) | 410 | (error "The sdb support requires a valid tags table to work.")) |
| 409 | (gud-overload-functions '((gud-massage-args . gud-sdb-massage-args) | 411 | (gud-overload-functions '((gud-massage-args . gud-sdb-massage-args) |
| 410 | (gud-marker-filter . gud-sdb-marker-filter) | 412 | (gud-marker-filter . gud-sdb-marker-filter) |