[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 01/14: company-begin-commands: include some cc-mode commands
From: |
Dmitry Gutov |
Subject: |
[elpa] 01/14: company-begin-commands: include some cc-mode commands |
Date: |
Sat, 13 Sep 2014 12:18:57 +0000 |
dgutov pushed a commit to branch master
in repository elpa.
commit f75eafc9eaa9c83a0e375311349d83478c5ce32d
Author: Dmitry Gutov <address@hidden>
Date: Sun Aug 31 03:44:48 2014 +0400
company-begin-commands: include some cc-mode commands
Closes #174
---
NEWS.md | 4 ++++
company.el | 12 +++++++++---
2 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/NEWS.md b/NEWS.md
index 8a0bec2..6d9989b 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -1,5 +1,9 @@
# History of user-visible changes
+## Next
+
+* `company-begin-commands` includes several `cc-mode` commands.
+
## 2014-08-27 (0.8.3)
* On Emacs 24.4 or newer, tooltip positioning takes line-spacing into account.
diff --git a/company.el b/company.el
index 9d53cd7..239d16f 100644
--- a/company.el
+++ b/company.el
@@ -5,7 +5,7 @@
;; Author: Nikolaj Schumacher
;; Maintainer: Dmitry Gutov <address@hidden>
;; URL: http://company-mode.github.io/
-;; Version: 0.8.3
+;; Version: 0.8.4-cvs
;; Keywords: abbrev, convenience, matching
;; Package-Requires: ((emacs "24.1") (cl-lib "0.5"))
@@ -554,7 +554,12 @@ happens. The value of nil means no idle completion."
(const :tag "immediate (0)" 0)
(number :tag "seconds")))
-(defcustom company-begin-commands '(self-insert-command
org-self-insert-command)
+(defcustom company-begin-commands '(self-insert-command
+ org-self-insert-command
+ c-scope-operator
+ c-electric-colon
+ c-electric-lt-gt
+ c-electric-slash)
"A list of commands after which idle completion is allowed.
If this is t, it can show completions after any command except a few from a
pre-defined list. See `company-idle-delay'.
@@ -563,7 +568,8 @@ Alternatively, any command with a non-nil `company-begin'
property is
treated as if it was on this list."
:type '(choice (const :tag "Any command" t)
(const :tag "Self insert command" '(self-insert-command))
- (repeat :tag "Commands" function)))
+ (repeat :tag "Commands" function))
+ :package-version '(company . "0.8.4"))
(defcustom company-continue-commands '(not save-buffer save-some-buffers
save-buffers-kill-terminal
- [elpa] branch master updated (2ee393e -> 3c14efe), Dmitry Gutov, 2014/09/13
- [elpa] 04/14: Add test for the previous commit, Dmitry Gutov, 2014/09/13
- [elpa] 07/14: Use posn-actual-col-row to calculate the row, Dmitry Gutov, 2014/09/13
- [elpa] 08/14: company-complete-number: Make interactive, read the pressed digit, Dmitry Gutov, 2014/09/13
- [elpa] 09/14: company-gtags-modes: Turn into defcustom, Dmitry Gutov, 2014/09/13
- [elpa] 10/14: company-with-candidate-inserted: restore buffer modification status, Dmitry Gutov, 2014/09/13
- [elpa] 06/14: Don't use end-of-buffer-workaround, Dmitry Gutov, 2014/09/13
- [elpa] 13/14: Release 0.8.4, Dmitry Gutov, 2014/09/13
- [elpa] 01/14: company-begin-commands: include some cc-mode commands,
Dmitry Gutov <=
- [elpa] 12/14: company--posn-col-row: add comment, Dmitry Gutov, 2014/09/13
- [elpa] 05/14: Adjust for debbugs:18384 being fixed now, Dmitry Gutov, 2014/09/13
- [elpa] 11/14: Only use company-ropemacs when ropemacs-mode is on, Dmitry Gutov, 2014/09/13
- [elpa] 14/14: Merge commit '2ef6263c65a109b4d36503e6484fdbf4cb307d0f' from company, Dmitry Gutov, 2014/09/13
- [elpa] 03/14: company--posn-col-row: incf instead of decf for non-nil h-l-f, Dmitry Gutov, 2014/09/13
- [elpa] 02/14: company--posn-col-row: use `posn-col-row', Dmitry Gutov, 2014/09/13