summaryrefslogtreecommitdiff
path: root/lisp/comint.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1998-05-05 21:29:28 +0000
committerRichard M. Stallman <rms@gnu.org>1998-05-05 21:29:28 +0000
commit2ac86cc0fe1d61845ea27a365412756a5c269a77 (patch)
tree58d3b755843f10d4931f47fefc25dea844019666 /lisp/comint.el
parent833d591d600ba1ba05ff02717ac6c33b8e6d6606 (diff)
downloademacs-2ac86cc0fe1d61845ea27a365412756a5c269a77.tar.gz
(comint-replace-by-expanded-history-before-point):
When none of the ! or ^ constructs match, move forward one char.
Diffstat (limited to 'lisp/comint.el')
-rw-r--r--lisp/comint.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/comint.el b/lisp/comint.el
index fe4376996c6..3da9fd1d8a9 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -1058,7 +1058,7 @@ than the logical beginning of line."
(replace-match new t t)
(message "History item: substituted"))))
(t
- (goto-char (match-end 0))))))))
+ (forward-char 1)))))))
(defun comint-magic-space (arg)