]> git.eshelyaron.com Git - emacs.git/commitdiff
Require `button'.
authorMiles Bader <miles@gnu.org>
Thu, 14 Mar 2002 09:02:36 +0000 (09:02 +0000)
committerMiles Bader <miles@gnu.org>
Thu, 14 Mar 2002 09:02:36 +0000 (09:02 +0000)
(debugger-mode-map): Set the parent keymap to `button-buffer-map',
to get TAB and <backtab> bindings.

lisp/emacs-lisp/debug.el

index a768d39b4929d4cb5e1d37eac89d22e244185f76..1f3f4b3f56c1145e34453670f60800cbf6a7b77d 100644 (file)
@@ -1,6 +1,6 @@
 ;;; debug.el --- debuggers and related commands for Emacs
 
-;; Copyright (C) 1985, 1986, 1994 Free Software Foundation, Inc.
+;; Copyright (C) 1985, 1986, 1994, 2001 Free Software Foundation, Inc.
 
 ;; Maintainer: FSF
 ;; Keywords: lisp, tools, maint
@@ -28,6 +28,8 @@
 
 ;;; Code:
 
+(require 'button)
+
 (defgroup debugger nil
   "Debuggers and related commands for Emacs."
   :prefix "debugger-"
@@ -526,6 +528,7 @@ Applies to the frame whose line point is on in the backtrace."
 (unless debugger-mode-map
   (let ((loop ? ))
     (setq debugger-mode-map (make-keymap))
+    (set-keymap-parent debugger-mode-map button-buffer-map)
     (suppress-keymap debugger-mode-map)
     (define-key debugger-mode-map "-" 'negative-argument)
     (define-key debugger-mode-map "b" 'debugger-frame)