Commit 1289e5d3 authored by Glenn Morris's avatar Glenn Morris
Browse files

Fix previous gdb-mi change.

parent 13522cb4
......@@ -671,8 +671,10 @@ detailed description of this mode.
(file-name-directory file))))
((string-equal (match-string 1) "size")
(setq hsize (match-string 2))))))))
(if (integerp hsize)
(set (make-local-variable 'comint-input-ring-size) hsize))
(and (stringp hsize)
(integerp (string-to-number hsize))
(> hsize 0)
(set (make-local-variable 'comint-input-ring-size) hsize))
(if (stringp hfile)
(set (make-local-variable 'comint-input-ring-file-name) hfile))
(comint-read-input-ring t)))
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