diff lisp/progmodes/idlw-shell.el @ 87169:ac7eee19fc7e

Improves calls to `error', per mail from RMS.
author Deepak Goel <deego@gnufans.org>
date Sat, 08 Dec 2007 00:57:23 +0000
parents e1c8546ca1d5
children 20bb7aaa7b12 2fcaae6177a5
line wrap: on
line diff
--- a/lisp/progmodes/idlw-shell.el	Fri Dec 07 11:05:08 2007 +0000
+++ b/lisp/progmodes/idlw-shell.el	Sat Dec 08 00:57:23 2007 +0000
@@ -2375,7 +2375,7 @@
     (if (not (idlwave-shell-valid-frame frame))
 	;; fixme: errors are dangerous in shell filters.  but i think i
 	;; have never encountered this one.
-        (error "%s" (concat "invalid frame - unable to access file: " (car frame)))
+        (error "invalid frame - unable to access file: %s" (car frame))
 ;;;
 ;;; buffer : the buffer to display a line in.
 ;;; select-shell: current buffer is the shell.