help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Run Command from python-mode


From: Kevin Harriss
Subject: Run Command from python-mode
Date: Mon, 24 Jul 2006 16:00:08 -0500

I am using python-mode and I would like a similar solution to mapping
f10 to compile with csharp mode.  I would like f10 mapped to the command
'cvc cook <filename>' I was wondering what variable in python-mode would
need to be modified.  I currently have this in my .emacs 
(setq 'compile-command "cvc cook")
(local-set-key [f10] 'compile)
 When I open a python file I get this error 
File mode specification error: (wrong-type-argument symbolp (quote
compile-command))

Thanks in advance,

Kevin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]