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

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

[elpa] 10/14: company-with-candidate-inserted: restore buffer modificati


From: Dmitry Gutov
Subject: [elpa] 10/14: company-with-candidate-inserted: restore buffer modification status
Date: Sat, 13 Sep 2014 12:19:03 +0000

dgutov pushed a commit to branch master
in repository elpa.

commit 35d2af827f5ebf0bc1b74cfe2c69cf9e4499e67b
Author: Dmitry Gutov <address@hidden>
Date:   Sat Sep 13 15:57:30 2014 +0400

    company-with-candidate-inserted: restore buffer modification status
---
 company.el |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/company.el b/company.el
index 505cc82..0991f6d 100644
--- a/company.el
+++ b/company.el
@@ -989,7 +989,8 @@ can retrieve meta-data for them."
      (company--insert-candidate ,candidate)
      (unwind-protect
          (progn ,@body)
-       (delete-region company-point (point)))))
+       (delete-region company-point (point))
+       (set-buffer-modified-p modified-p))))
 
 (defun company-explicit-action-p ()
   "Return whether explicit completion action was taken by the user."



reply via email to

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