diff options
| author | Richard M. Stallman | 1994-04-05 01:21:06 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-04-05 01:21:06 +0000 |
| commit | 100aa77cf60d39f40cbdffb3519ddd5b22ed1580 (patch) | |
| tree | 94cdb23e21b625d749a95a75f49fbac2f8ee0b83 | |
| parent | ab94bf9f4c627ca4019c786cb6c995655308d789 (diff) | |
| download | emacs-100aa77cf60d39f40cbdffb3519ddd5b22ed1580.tar.gz emacs-100aa77cf60d39f40cbdffb3519ddd5b22ed1580.zip | |
(edebug-emacs-19-specific): Renamed from edebug-fsf19-specific.
(edebug-emacs-version-specific): Test for not-version-18.
| -rw-r--r-- | lisp/emacs-lisp/edebug.el | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el index 84edf496f2b..08699d89662 100644 --- a/lisp/emacs-lisp/edebug.el +++ b/lisp/emacs-lisp/edebug.el | |||
| @@ -8,9 +8,9 @@ | |||
| 8 | ;; LCD Archive Entry: | 8 | ;; LCD Archive Entry: |
| 9 | ;; edebug|Daniel LaLiberte|liberte@cs.uiuc.edu | 9 | ;; edebug|Daniel LaLiberte|liberte@cs.uiuc.edu |
| 10 | ;; |A source level debugger for Emacs Lisp. | 10 | ;; |A source level debugger for Emacs Lisp. |
| 11 | ;; |$Date: 1994/04/04 21:39:52 $|3.5|~/modes/edebug.el| | 11 | ;; |$Date: 1994/04/04 21:52:06 $|3.5|~/modes/edebug.el| |
| 12 | 12 | ||
| 13 | ;; Version 3.5 ($Revision: 3.5 $ from FSF Emacs 19) | 13 | ;; Version 3.5 ($Revision: 1.18 $ from Emacs 19) |
| 14 | 14 | ||
| 15 | ;; This file is part of GNU Emacs. | 15 | ;; This file is part of GNU Emacs. |
| 16 | 16 | ||
| @@ -2759,9 +2759,14 @@ MSG is printed after `::::} '." | |||
| 2759 | (defvar edebug-outside-this-command) | 2759 | (defvar edebug-outside-this-command) |
| 2760 | (defvar edebug-outside-last-input-char) | 2760 | (defvar edebug-outside-last-input-char) |
| 2761 | 2761 | ||
| 2762 | ;; Note: here we have defvars for variables that are | ||
| 2763 | ;; built-in in certain versions. | ||
| 2764 | ;; Each defvar makes a difference | ||
| 2765 | ;; in versions where the variable is *not* built-in. | ||
| 2766 | |||
| 2762 | ;; Emacs 18 | 2767 | ;; Emacs 18 |
| 2763 | (defvar edebug-outside-unread-command-char) | 2768 | (defvar edebug-outside-unread-command-char) |
| 2764 | (defvar unread-command-char -1) ;; Define for lemacs 19.9 | 2769 | (defvar unread-command-char -1) |
| 2765 | 2770 | ||
| 2766 | ;; Lucid Emacs | 2771 | ;; Lucid Emacs |
| 2767 | (defvar edebug-outside-unread-command-event) ;; like unread-command-events | 2772 | (defvar edebug-outside-unread-command-event) ;; like unread-command-events |
| @@ -4344,7 +4349,7 @@ It is removed when you hit any char." | |||
| 4344 | ;; to functions like mark and read-from-minibuffer. These warnings | 4349 | ;; to functions like mark and read-from-minibuffer. These warnings |
| 4345 | ;; may be ignored because the right call should always be made. | 4350 | ;; may be ignored because the right call should always be made. |
| 4346 | 4351 | ||
| 4347 | (defun edebug-fsf19-specific () | 4352 | (defun edebug-emacs-19-specific () |
| 4348 | 4353 | ||
| 4349 | (defalias 'edebug-window-live-p 'window-live-p) | 4354 | (defalias 'edebug-window-live-p 'window-live-p) |
| 4350 | 4355 | ||
| @@ -4429,15 +4434,14 @@ Print result in minibuffer." | |||
| 4429 | 4434 | ||
| 4430 | (defun edebug-emacs-version-specific () | 4435 | (defun edebug-emacs-version-specific () |
| 4431 | (cond | 4436 | (cond |
| 4432 | ;; Test Lucid first. | 4437 | ((string-match "Lucid" emacs-version);; Lucid Emacs |
| 4433 | ((string-match "Lucid" emacs-version);; lemacs | ||
| 4434 | (edebug-lemacs-specific)) | 4438 | (edebug-lemacs-specific)) |
| 4435 | 4439 | ||
| 4436 | ((string-match "^19" emacs-version);; Emacs 19 | ||
| 4437 | (edebug-fsf19-specific)) | ||
| 4438 | |||
| 4439 | ((and (boundp 'epoch::version) epoch::version) | 4440 | ((and (boundp 'epoch::version) epoch::version) |
| 4440 | (require 'edebug-epoch)))) | 4441 | (require 'edebug-epoch)) |
| 4442 | |||
| 4443 | ((not (string-match "^18" emacs-version)) | ||
| 4444 | (edebug-emacs-19-specific)))) | ||
| 4441 | 4445 | ||
| 4442 | (edebug-emacs-version-specific) | 4446 | (edebug-emacs-version-specific) |
| 4443 | 4447 | ||