From: Juri Linkov Date: Sun, 4 Dec 2005 02:37:35 +0000 (+0000) Subject: (idlwave-shell-electric-debug-mode): X-Git-Tag: emacs-pretest-22.0.90~5521 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0f01161d53d2ed6a4da1036df52685817c611d82;p=emacs.git (idlwave-shell-electric-debug-mode): Use define-minor-mode instead of easy-mmode-define-minor-mode. --- diff --git a/lisp/progmodes/idlw-shell.el b/lisp/progmodes/idlw-shell.el index 4b646a72f3b..27360a54969 100644 --- a/lisp/progmodes/idlw-shell.el +++ b/lisp/progmodes/idlw-shell.el @@ -4188,7 +4188,7 @@ Otherwise, just expand the file name." (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 @@ Null prefix argument turns off the mode. 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