Commit 3362cf1d authored by David Kågedal's avatar David Kågedal
Browse files

* command.el (lyskom-end-of-command): Använd

lyskom-pending-commands.
parent 5bea9e9a
......@@ -222,7 +222,14 @@ chosen according to this"
(if lyskom-idle-time-flag
(initiate-user-active 'background nil))
(if kom-inhibit-typeahead
(discard-input)))
(discard-input))
;; lyskom-pending-commands should probably be a queue or a stack.
(when lyskom-pending-commands
(let ((command (car lyskom-pending-commands)))
(setq lyskom-pending-commands (cdr lyskom-pending-commands))
(if (symbolp command)
(call-interactively command)
(eval command)))))
(provide 'lyskom-command)
......
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