summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/ert-x.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2015-02-10 02:38:09 +0200
committerJuri Linkov <juri@linkov.net>2015-02-10 02:38:09 +0200
commit87fc99fee17ef1df4c22db15ec783a7735d3fc6b (patch)
tree7ee4cce5e6dfde09a7088fe5a2b6b068cb066ae2 /lisp/emacs-lisp/ert-x.el
parenta7b1c2f88f06bbeda16117c0aa1caffac1b4ebe1 (diff)
downloademacs-87fc99fee17ef1df4c22db15ec783a7735d3fc6b.tar.gz
emacs-87fc99fee17ef1df4c22db15ec783a7735d3fc6b.tar.bz2
emacs-87fc99fee17ef1df4c22db15ec783a7735d3fc6b.zip
Better support for the case of typing RET on the prompt in comint.
* lisp/comint.el (comint-get-old-input-default): Go to the field end when comint-use-prompt-regexp is nil. (comint-line-beginning-position): Check if point is already on the prompt before searching for the prompt when comint-use-prompt-regexp is non-nil. Fixes: debbugs:19710
Diffstat (limited to 'lisp/emacs-lisp/ert-x.el')
0 files changed, 0 insertions, 0 deletions