Mercurial > emacs
changeset 57822:7cda0787d8cd
(idlwave-shell-send-char): Don't use interactive-p.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 01 Nov 2004 07:41:08 +0000 |
parents | de4da107405e |
children | d77a1264b555 |
files | lisp/progmodes/idlw-shell.el |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/idlw-shell.el Mon Nov 01 07:39:44 2004 +0000 +++ b/lisp/progmodes/idlw-shell.el Mon Nov 01 07:41:08 2004 +0000 @@ -1137,10 +1137,10 @@ (goto-char save-point)) (set-buffer save-buffer)))) -(defun idlwave-shell-send-char (c &optional no-error) +(defun idlwave-shell-send-char (c &optional error) "Send one character to the shell, without a newline." - (interactive "cChar to send to IDL: ") - (let ((errf (if (interactive-p) 'error 'message)) + (interactive "cChar to send to IDL: \np") + (let ((errf (if error 'error 'message)) buf proc) (if (or (not (setq buf (get-buffer (idlwave-shell-buffer)))) (not (setq proc (get-buffer-process buf))))