emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/bash-completion dd34b278bf 069/313: stopping at point; th


From: ELPA Syncer
Subject: [nongnu] elpa/bash-completion dd34b278bf 069/313: stopping at point; the easy way
Date: Sat, 3 Dec 2022 10:59:17 -0500 (EST)

branch: elpa/bash-completion
commit dd34b278bf4714a492322a852559fced1c4800dc
Author: Stephane Zermatten <szermatt@gmx.net>
Commit: Stephane Zermatten <szermatt@gmx.net>

    stopping at point; the easy way
---
 bash-completion.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bash-completion.el b/bash-completion.el
index 5dccc8cb5b..eb9b48d7b4 100644
--- a/bash-completion.el
+++ b/bash-completion.el
@@ -158,7 +158,7 @@ completion.  Return nil if no match was found."
       (message "Bash completion..."))
     (let* ( (pos (point))
            (start (comint-line-beginning-position))
-           (end (line-end-position))
+           (end (point))
            (parsed (bash-completion-parse-line start end pos))
            (line (cdr (assq 'line parsed)))
            (point (cdr (assq 'point parsed)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]