Commit 63cae2d0 authored by Troels Henriksen's avatar Troels Henriksen
Browse files

Only execute a command when we actually have a command.

parent 358021a5
......@@ -77,7 +77,8 @@ can be a filename (edit the file) or symbol (edit its function definition)."
(t (error 'type-error :datum thing
:expected-type '(or null string pathname symbol))))))
(if climacs-frame
(execute-frame-command climacs-frame command)
(when command
(execute-frame-command climacs-frame command))
(apply #'climacs-common command :new-process t args)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment