aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1997-10-16 18:35:17 +0000
committerKarl Heuer1997-10-16 18:35:17 +0000
commit6392137fae40617db446e5b409aa8f349b869f3b (patch)
tree2ae64123bb8c83a5add7314e7b785eaa1f6f20c7
parent1126786767348f06b8488d81eb2e6fe26a4df29a (diff)
downloademacs-6392137fae40617db446e5b409aa8f349b869f3b.tar.gz
emacs-6392137fae40617db446e5b409aa8f349b869f3b.zip
(edebug-eval-mode): Nicer mode-name value.
-rw-r--r--lisp/emacs-lisp/edebug.el55
1 files changed, 16 insertions, 39 deletions
diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el
index 431b15272e7..9eeb0da47b2 100644
--- a/lisp/emacs-lisp/edebug.el
+++ b/lisp/emacs-lisp/edebug.el
@@ -3,7 +3,7 @@
3;; Copyright (C) 1988,'89,'90,'91,'92,'93,'94,'95,1997 3;; Copyright (C) 1988,'89,'90,'91,'92,'93,'94,'95,1997
4;; Free Software Foundation, Inc 4;; Free Software Foundation, Inc
5 5
6;; Author: Daniel LaLiberte <liberte@cs.uiuc.edu> 6;; Author: Daniel LaLiberte <dlaliberte@gte.com>
7;; Keywords: lisp, tools, maint 7;; Keywords: lisp, tools, maint
8 8
9;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
@@ -32,51 +32,28 @@
32;; expressions, trap errors normally caught by debug, and display a 32;; expressions, trap errors normally caught by debug, and display a
33;; debug style backtrace. 33;; debug style backtrace.
34 34
35;;; Installation
36;; =============
37
38;; Put edebug.el in some directory in your load-path and
39;; byte-compile it. Also read the beginning of edebug-epoch.el,
40;; cl-specs.el, and edebug-cl-read.el if they apply to you.
41
42;; Unless you are using Emacs 19 which is already set up to use Edebug,
43;; put the following forms in your .emacs file.
44;; (define-key emacs-lisp-mode-map "\C-xx" 'edebug-eval-top-level-form)
45;; (autoload 'edebug-eval-top-level-form "edebug")
46
47;; If you wish to change the default edebug global command prefix, change:
48;; (setq edebug-global-prefix "\C-xX")
49
50;; Other options, are described in the manual.
51
52;; In previous versions of Edebug, users were directed to set
53;; `debugger' to `edebug-debug'. This is no longer necessary
54;; since Edebug automatically sets it whenever Edebug is active.
55
56;;; Minimal Instructions 35;;; Minimal Instructions
57;; ===================== 36;; =====================
58 37
59;; First evaluate a defun with C-xx, then run the function. Step 38;; First evaluate a defun with C-M-x, then run the function. Step
60;; through the code with SPC, mark breakpoints with b, go until a 39;; through the code with SPC, mark breakpoints with b, go until a
61;; breakpoint is reached with g, and quit execution with q. Use the 40;; breakpoint is reached with g, and quit execution with q. Use the
62;; "?" command in edebug to describe other commands. See edebug.tex 41;; "?" command in edebug to describe other commands.
63;; or the Emacs 19 Lisp Reference Manual for more instructions. 42;; See the Emacs 19 Lisp Reference Manual for more instructions.
43
44;; If you wish to change the default edebug global command prefix, change:
45;; (setq edebug-global-prefix "\C-xX")
64 46
65;; Send me your enhancements, ideas, bugs, or fixes. 47;; Send me your enhancements, ideas, bugs, or fixes.
66;; For bugs, you can call edebug-submit-bug-report if you have reporter.el. 48;; For bugs, you can call edebug-submit-bug-report.
67;; There is an edebug mailing list if you want to keep up 49;; There is an edebug mailing list if you want to keep up
68;; with the latest developments. Requests to: edebug-request@cs.uiuc.edu 50;; with the latest developments. Requests to: edebug-request@cs.uiuc.edu
69
70;; Daniel LaLiberte 217-398-4114
71;; University of Illinois, Urbana-Champaign
72;; Department of Computer Science
73;; 1304 W Springfield
74;; Urbana, IL 61801
75
76;; uiucdcs!liberte
77;; liberte@cs.uiuc.edu
78 51
79;; For the early revision history, see edebug-history. 52;; Daniel LaLiberte 617-466-3291
53;; GTE Labs
54;; 40 Sylvan Rd
55;; Waltham, MA 02254
56;; dlaliberte@gte.com
80 57
81;;; Code: 58;;; Code:
82 59
@@ -4052,7 +4029,7 @@ May only be called from within edebug-recursive-edit."
4052 4029
4053 4030
4054(defvar edebug-eval-mode-map nil 4031(defvar edebug-eval-mode-map nil
4055 "Keymap for edebug-eval-mode. Superset of lisp-interaction-mode.") 4032 "Keymap for Edebug Eval mode. Superset of Lisp Interaction mode.")
4056 4033
4057(if edebug-eval-mode-map 4034(if edebug-eval-mode-map
4058 nil 4035 nil
@@ -4083,7 +4060,7 @@ Global commands prefixed by global-edebug-prefix:
4083" 4060"
4084 (lisp-interaction-mode) 4061 (lisp-interaction-mode)
4085 (setq major-mode 'edebug-eval-mode) 4062 (setq major-mode 'edebug-eval-mode)
4086 (setq mode-name "Edebug-Eval") 4063 (setq mode-name "Edebug Eval")
4087 (use-local-map edebug-eval-mode-map)) 4064 (use-local-map edebug-eval-mode-map))
4088 4065
4089;;; Interface with standard debugger. 4066;;; Interface with standard debugger.