branch: master
commit 0dc69458d12c51db8af8a16d5325dd26ce3d15c1
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>
Fix the build
---
company.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/company.el b/company.el
index bded061..4c79f59 100644
--- a/company.el
+++ b/company.el
@@ -1364,7 +1364,7 @@ Keywords and function definition names are ignored."
(defvar comint-last-prompt)
(let ((beg (match-beginning 0))
(end (match-end 0))
- (comint-last-prompt comint-last-prompt))
+ (comint-last-prompt (bound-and-true-p comint-last-prompt)))
(save-excursion
(goto-char end)
;; Workaround for python-shell-completion-at-point's behavior: