Function: idlwave-kill-autoloaded-buffers
idlwave-kill-autoloaded-buffers is an interactive and byte-compiled
function defined in idlwave.el.gz.
Signature
(idlwave-kill-autoloaded-buffers)
Documentation
Kill buffers created automatically by IDLWAVE.
Function prompts for a letter to identify the buffers to kill. Possible letters are:
f Buffers created by the command M-x idlwave-find-module (idlwave-find-module) or mouse
clicks in the routine info window.
s Buffers created by the IDLWAVE Shell to display where execution
stopped or an error was found.
a Both of the above.
Buffers containing unsaved changes require confirmation before they are killed.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/idlwave.el.gz
(defun idlwave-kill-autoloaded-buffers ()
"Kill buffers created automatically by IDLWAVE.
Function prompts for a letter to identify the buffers to kill.
Possible letters are:
f Buffers created by the command \\[idlwave-find-module] or mouse
clicks in the routine info window.
s Buffers created by the IDLWAVE Shell to display where execution
stopped or an error was found.
a Both of the above.
Buffers containing unsaved changes require confirmation before they are killed."
(interactive)
(if (null idlwave-outlawed-buffers)
(error "No IDLWAVE-created buffers available")
(princ (format "Kill IDLWAVE-created buffers: [f]ind source(%d), [s]hell display(%d), [a]ll ? "
(idlwave-count-outlawed-buffers 'find)
(idlwave-count-outlawed-buffers 'shell)))
(let ((c (read-char)))
(cond
((member c '(?f ?\C-f))
(idlwave-do-kill-autoloaded-buffers 'find))
((member c '(?s ?\C-s))
(idlwave-do-kill-autoloaded-buffers 'shell))
((member c '(?a ?\C-a))
(idlwave-do-kill-autoloaded-buffers t))
(t (error "Abort"))))))