branch: elpa/nix-mode
commit 664fa51cfa9d8e4c39f2086ad1b6b6fdc1e8fbd7
Author: Matthew Bauer <[email protected]>
Commit: Matthew Bauer <[email protected]>

    Remove mmm-mode/company feature detection
---
 nix-mode.el | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/nix-mode.el b/nix-mode.el
index 38a33d46c2..7670d7b6e4 100644
--- a/nix-mode.el
+++ b/nix-mode.el
@@ -461,10 +461,6 @@ STRING-TYPE type of string based off of Emacs syntax table 
types"
 (nix-create-keymap)
 (nix-create-menu)
 
-;; TODO: find a better way to load this
-(when (locate-library "company") (require 'nix-company nil 'noerror))
-(when (locate-library "mmm-mode") (require 'nix-mode-mmm nil 'noerror))
-
 ;;;###autoload
 (defun nix-build (&optional attr dir)
   "Run nix-build.

Reply via email to