summaryrefslogtreecommitdiff
path: root/doc/top.texi
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2011-01-07 14:14:31 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2011-01-07 14:14:31 +0100
commit217504b2332303d9351de33e93fb46dac5daa28d (patch)
tree43b740426d3abacd25f89f508305fe611cf6e23e /doc/top.texi
parentdac9e147a1717674aab32ecc47bb9ea6cddb4ef1 (diff)
downloadgeiser-217504b2332303d9351de33e93fb46dac5daa28d.tar.gz
geiser-217504b2332303d9351de33e93fb46dac5daa28d.tar.bz2
REPL: fix for history navigation
We were using a comint-get-old-input function that was including the prompt in its returned value. This was no problem most of the time because we don't use comint-send-input before the process mark, but there's another circumstance under which comint-get-old-input is called, namely, when reaching the end of the input history. When history is exhausted, the "old input" is inserted (go figure), and we were inserting a prompt, wreaking havoc with its read-only-ness.
Diffstat (limited to 'doc/top.texi')
0 files changed, 0 insertions, 0 deletions