Function: idlwave-shell-toggle-electric-debug-mode

idlwave-shell-toggle-electric-debug-mode is an interactive and byte-compiled function defined in idlw-shell.el.gz.

Signature

(idlwave-shell-toggle-electric-debug-mode)

Documentation

Toggle electric-debug-mode, suppressing re-entry into mode if turned off.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/idlw-shell.el.gz
;; The Electric Debug Minor Mode --------------------------------------------

(defun idlwave-shell-toggle-electric-debug-mode ()
  "Toggle electric-debug-mode, suppressing re-entry into mode if turned off."
  (interactive)
  ;; If turning it off, make sure it stays off throughout the debug
  ;; session until we return or hit $MAIN$.  Cancel this suppression
  ;; if it's explicitly turned on.
  (if idlwave-shell-electric-debug-mode
      (progn ;; Turn it off, and make sure it stays off.
	(setq idlwave-shell-suppress-electric-debug t)
	(idlwave-shell-electric-debug-mode 0))
    (setq idlwave-shell-suppress-electric-debug nil)
    (idlwave-shell-electric-debug-mode t)))