]> code.delx.au - gnu-emacs/blobdiff - lisp/progmodes/octave.el
; Do not overwrite preexisting contents of unread-command-events
[gnu-emacs] / lisp / progmodes / octave.el
index 50f888cb9fd0efc2050f8dac009c7022ffacb615..89e0b1052232f2ac9ab66a39a1095cd6ac7f0ed5 100644 (file)
@@ -919,7 +919,7 @@ startup file, `~/.emacs-octave'."
       (let ((ch (read-event)))
         (if (eq ch ?\ )
             (set-window-configuration conf)
-          (setq unread-command-events (list ch)))))))
+          (push ch unread-command-events))))))
 
 (defun inferior-octave-output-digest (_proc string)
   "Special output filter for the inferior Octave process.