branch: externals/fountain-mode commit 9f8e5ccfa32793245f0073a5c92ee722bf1b7bfb Author: Paul W. Rankin <he...@paulwrankin.com> Commit: Paul W. Rankin <he...@paulwrankin.com>
Only auto-complete when at eolp --- fountain-mode.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fountain-mode.el b/fountain-mode.el index b1319ce..1b29129 100644 --- a/fountain-mode.el +++ b/fountain-mode.el @@ -1363,7 +1363,8 @@ Added to `completion-at-point-functions'." (point) (completion-table-case-fold fountain-completion-locations))) - ((fountain-blank-before-p) + ((and (eolp) + (fountain-blank-before-p)) ;; Return character completion (list (line-beginning-position) (point)