diff options
author | Juri Linkov <juri@linkov.net> | 2015-02-05 02:52:41 +0200 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2015-02-05 02:52:41 +0200 |
commit | a323b93d466c403cbef96184d510b134549c7806 (patch) | |
tree | 9f95858f7a61482860822351fd03db2e7c123c6c /lisp/emacs-lisp | |
parent | 008a04ac9af20540d6e7ee4b61fb5bb3b21ef0e6 (diff) | |
download | emacs-a323b93d466c403cbef96184d510b134549c7806.tar.gz emacs-a323b93d466c403cbef96184d510b134549c7806.tar.bz2 emacs-a323b93d466c403cbef96184d510b134549c7806.zip |
Better multi-line input support in comint.el
Revert the change of comint-line-beginning-position callers,
and modify comint-line-beginning-position instead.
* lisp/comint.el (comint-history-isearch-search)
(comint-history-isearch-message, comint-history-isearch-wrap):
Use comint-line-beginning-position instead of field-beginning.
(comint-send-input): Use either end-of-line or field-end
depending on comint-use-prompt-regexp.
(comint-line-beginning-position): Search backward
for comint-prompt-regexp if comint-use-prompt-regexp is non-nil.
Use field-beginning instead of line-beginning-position
if comint-use-prompt-regexp is nil.
Fixes: debbugs:19710
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions