# HG changeset patch # User Juri Linkov # Date 1133663855 0 # Node ID 7060bfa315738443a63106f9ded1fa933869231a # Parent 5db0c081adbe61ab92a219de5222b0cca26d87ae (idlwave-shell-electric-debug-mode): Use define-minor-mode instead of easy-mmode-define-minor-mode. diff -r 5db0c081adbe -r 7060bfa31573 lisp/progmodes/idlw-shell.el --- a/lisp/progmodes/idlw-shell.el Sun Dec 04 02:36:43 2005 +0000 +++ b/lisp/progmodes/idlw-shell.el Sun Dec 04 02:37:35 2005 +0000 @@ -4188,7 +4188,7 @@ (defvar idlwave-shell-electric-debug-read-only) (defvar idlwave-shell-electric-debug-buffers nil) -(easy-mmode-define-minor-mode idlwave-shell-electric-debug-mode +(define-minor-mode idlwave-shell-electric-debug-mode "Toggle Electric Debug mode. With no argument, this command toggles the mode. Non-null prefix argument turns on the mode. @@ -4196,9 +4196,9 @@ When Electric Debug mode is enabled, the many debugging commands are available as single key sequences." -nil -" *Debugging*" -idlwave-shell-electric-debug-mode-map) + nil + " *Debugging*" + idlwave-shell-electric-debug-mode-map) (add-hook 'idlwave-shell-electric-debug-mode-on-hook