diff options
| -rw-r--r-- | lisp/comint.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/comint.el b/lisp/comint.el index 72e536c0d08..921b567276f 100644 --- a/lisp/comint.el +++ b/lisp/comint.el | |||
| @@ -1136,6 +1136,7 @@ than the logical beginning of line." | |||
| 1136 | (save-excursion | 1136 | (save-excursion |
| 1137 | (let ((toend (- (line-end-position) (point))) | 1137 | (let ((toend (- (line-end-position) (point))) |
| 1138 | (start (comint-line-beginning-position))) | 1138 | (start (comint-line-beginning-position))) |
| 1139 | (goto-char start) | ||
| 1139 | (while (progn | 1140 | (while (progn |
| 1140 | (skip-chars-forward "^!^" (- (line-end-position) toend)) | 1141 | (skip-chars-forward "^!^" (- (line-end-position) toend)) |
| 1141 | (< (point) (- (line-end-position) toend))) | 1142 | (< (point) (- (line-end-position) toend))) |