[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 78ef0a7: comint-read-input-ring: Simplify last commit
From: |
Lars Ingebrigtsen |
Subject: |
master 78ef0a7: comint-read-input-ring: Simplify last commit |
Date: |
Tue, 12 Jan 2021 07:29:21 -0500 (EST) |
branch: master
commit 78ef0a72fa57c05c4be1401b2304c106a02c257d
Author: Brian Leung <leungbk@mailfence.com>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
comint-read-input-ring: Simplify last commit
* lisp/comint.el (comint-read-input-ring): It is not necessary to use
`goto-char' again since we have already moved point to the desired
location (bug#45797).
---
lisp/comint.el | 1 -
1 file changed, 1 deletion(-)
diff --git a/lisp/comint.el b/lisp/comint.el
index 3476fd1..53153af 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -1000,7 +1000,6 @@ See also `comint-input-ignoredups' and
`comint-write-input-ring'."
(goto-char (match-end 0)))
(setq start (point))
(setq history (buffer-substring start end))
- (goto-char start)
(when (and (not (string-match history-ignore history))
(or (null ignoredups)
(ring-empty-p ring)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 78ef0a7: comint-read-input-ring: Simplify last commit,
Lars Ingebrigtsen <=