[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
??? Function error message SOS???-->"Wrong type argument: commandp..."
From: |
Christian Seberino |
Subject: |
??? Function error message SOS???-->"Wrong type argument: commandp..." |
Date: |
Mon, 25 Feb 2002 00:17:03 -0800 |
User-agent: |
Mutt/1.2.5i |
(setq compile-command-defined nil)
...
(defun new-compile() (new-compile-command)
(if (equal compile-command-defined t)
(compile compile-command)
(progn (interactive "scompile command: ")
(setq compile-command new-compile-command)
(setq compile-command-defined t)
(compile compile-command))))
The first time you try to compile you will be asked
for compile command but not thereafter -- at least
that is how above code looks to me.
I get following when I try to run this:
Wrong type argument: commandp, new-compile
Any ideas why?
Chris
--
=======================================================
| Dr. Christian Seberino || (619) 553-7940 (office) |
| SPAWARSYSCEN 2363 || (619) 553-2836 (fax) |
| 53560 HULL ST || |
| SAN DIEGO CA 92152-5001 || seberino@spawar.navy.mil |
=======================================================
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- ??? Function error message SOS???-->"Wrong type argument: commandp...",
Christian Seberino <=