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

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

[ELPA-diffs] [elpa] 03/14: company-elisp: enable in inferior-emacs-lisp-


From: emacs-devel
Subject: [ELPA-diffs] [elpa] 03/14: company-elisp: enable in inferior-emacs-lisp-mode
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 e56ef8b9ec06a21d6319f046df862a9b6a5dc6b4
Author: Dmitry Gutov <address@hidden>
Date:   Thu Dec 5 02:08:09 2013 +0200

    company-elisp: enable in inferior-emacs-lisp-mode
    
    #42
---
 NEWS.md          |    4 ++++
 company-elisp.el |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/NEWS.md b/NEWS.md
index 8c43c58..ff598f7 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -1,5 +1,9 @@
 # History of user-visible changes
 
+## Next
+
+* `company-elisp` is enabled in `inferior-emacs-lisp-mode`.
+
 ## 2013-09-28 (0.6.12)
 
 * Default value of `company-begin-commands` changed to `(self-insert-command)`.
diff --git a/company-elisp.el b/company-elisp.el
index 5bfc27e..0ea4c69 100644
--- a/company-elisp.el
+++ b/company-elisp.el
@@ -197,7 +197,7 @@ first in the candidates list."
   (interactive (list 'interactive))
   (case command
     (interactive (company-begin-backend 'company-elisp))
-    (prefix (and (eq (derived-mode-p 'emacs-lisp-mode) 'emacs-lisp-mode)
+    (prefix (and (derived-mode-p 'emacs-lisp-mode 'inferior-emacs-lisp-mode)
                  (company-elisp--prefix)))
     (candidates (company-elisp-candidates arg))
     (sorted company-elisp-show-locals-first)

-- 
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]