[Top][All Lists]

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

[ELPA-diffs] [elpa] 04/14: company--should-complete: Don't check if we'r

From: emacs-devel
Subject: [ELPA-diffs] [elpa] 04/14: company--should-complete: Don't check if we're in minibuffer
Date: Tue, 14 Jan 2014 20:57:07 +0000

This is an automated email from the git hooks/post-receive script.

root pushed a commit to branch master
in repository elpa.

commit f3a632b1581591480d8b0bbfb02116fe44d428fd
Author: Dmitry Gutov <address@hidden>
Date:   Fri Dec 6 03:24:00 2013 +0200

    company--should-complete: Don't check if we're in minibuffer
    This check has been fairly useless since 25f2c535
 company.el |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/company.el b/company.el
index b139b26..bee150c 100644
--- a/company.el
+++ b/company.el
@@ -426,8 +426,7 @@ as if it was on this list."
 (defcustom company-selection-wrap-around nil
   "If enabled, selecting item before first or after last wraps around."
   :type '(choice (const :tag "off" nil)
-                 (const :tag "on" t))
-  :group 'company)
+                 (const :tag "on" t)))
 (defvar company-end-of-buffer-workaround t
   "Work around a visualization bug when completing at the end of the buffer.
@@ -759,8 +758,7 @@ can retrieve meta-data for them."
 (defun company--should-complete ()
   (and (not (or buffer-read-only overriding-terminal-local-map
-                overriding-local-map
-                (minibufferp)))
+                overriding-local-map))
        ;; Check if in the middle of entering a key combination.
        (or (equal (this-command-keys-vector) [])
            (not (keymapp (key-binding (this-command-keys-vector)))))

To stop receiving notification emails like this one, please contact
the administrator of this repository.

reply via email to

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