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

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

[elpa] externals/company 10b7f31 1/2: Make company-abbrev expand abbrevi


From: ELPA Syncer
Subject: [elpa] externals/company 10b7f31 1/2: Make company-abbrev expand abbreviations after completion
Date: Tue, 21 Sep 2021 13:57:08 -0400 (EDT)

branch: externals/company
commit 10b7f31179a14b655c95938577a27545216df423
Author: Mohsin Kaleem <mohkale@kisara.moe>
Commit: Mohsin Kaleem <mohkale@kisara.moe>

    Make company-abbrev expand abbreviations after completion
    
    Closes #1216.
---
 company-abbrev.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/company-abbrev.el b/company-abbrev.el
index 16722dd..42c80a9 100644
--- a/company-abbrev.el
+++ b/company-abbrev.el
@@ -45,7 +45,8 @@
                  (delete "" (all-completions arg global-abbrev-table))
                  (delete "" (all-completions arg local-abbrev-table))))
     (kind 'snippet)
-    (meta (abbrev-expansion arg))))
+    (meta (abbrev-expansion arg))
+    (post-completion (expand-abbrev))))
 
 (provide 'company-abbrev)
 ;;; company-abbrev.el ends here



reply via email to

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