diff --git a/src/command.el b/src/command.el
index fa190adf23c478e1bad60ce8be2d565968d0ffd3..95351d71830a149944eb872e2c124259f6135794 100644
--- a/src/command.el
+++ b/src/command.el
@@ -237,8 +237,8 @@
        (setq name (lyskom-read-from-minibuffer prompt
 					       nil
 					       lyskom-command-completion-map
-					       'lyskom-command-history
 					       nil
+					       'lyskom-command-history
 					       t)))
      (lyskom-lookup-command-by-name name (lambda (alt)
                                            (lyskom-ok-command