# HG changeset patch # User Richard M. Stallman # Date 894403768 0 # Node ID ab7fa71c0957c3379bc23f62a4c19a4cc657ff95 # Parent c66b85d05dd855158fb6444ceb51aff7bd8b4235 (comint-replace-by-expanded-history-before-point): When none of the ! or ^ constructs match, move forward one char. diff -r c66b85d05dd8 -r ab7fa71c0957 lisp/comint.el --- a/lisp/comint.el Tue May 05 19:33:16 1998 +0000 +++ b/lisp/comint.el Tue May 05 21:29:28 1998 +0000 @@ -1058,7 +1058,7 @@ (replace-match new t t) (message "History item: substituted")))) (t - (goto-char (match-end 0)))))))) + (forward-char 1))))))) (defun comint-magic-space (arg)