diff lisp/emacs-lisp/elp.el @ 99878:684861183d28

* emacs-lisp/elp.el (elp-instrument-list): Fix 2nd arg of `signal'.
author Juanma Barranquero <lekktu@gmail.com>
date Mon, 24 Nov 2008 18:23:53 +0000
parents 7784aa29294b
children a9dc0e7c3f2b
line wrap: on
line diff
--- a/lisp/emacs-lisp/elp.el	Mon Nov 24 17:37:44 2008 +0000
+++ b/lisp/emacs-lisp/elp.el	Mon Nov 24 18:23:53 2008 +0000
@@ -345,7 +345,7 @@
 If called interactively, read LIST using the minibuffer."
   (interactive "PList of functions to instrument: ")
   (unless (listp list)
-    (signal 'wrong-type-argument 'listp list))
+    (signal 'wrong-type-argument (list 'listp list)))
   (let ((list (or list elp-function-list)))
     (mapcar 'elp-instrument-function list)))