   "Finish saving the current command. This should be called from `post-command-hook'."
   (when (not emc-running-command)
     (emc-print-this-command "POST")
-    (emc-append-this-comand-keys (emc-append-unique
+    (emc-append-this-command-keys (emc-append-unique
                                   (this-command-keys-vector)
                                   (this-single-command-raw-keys)
                                   last-input-event))))

    (let* ((orig (emc-get-this-command-keys))
           (new (emc-normalize-keys (this-command-keys-vector)))
           (all (append orig new)))
      (emc-set-this-comand-keys (remove-duplicates all :from-end t)))
    (message "KEYS SEQUENCE %s %s %s"
             (this-command-keys)
             (this-command-keys-vector)

        (emc-clear-this-command)
        (emc-set-this-command cmd)
        (emc-set-last-command last-command)
        (emc-append-this-command-keys (this-command-keys-vector))))))

;; TODO: use the advice below in the absence of evil-snipe-mode but not if it is enabled
(defun emc-record-key-sequence (prompt &optional continue-echo dont-downcase-last
