From 8a20d9376eb9cd5e46e9377e6303f9625affb798 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sat, 14 Jul 2018 12:51:39 -0700 Subject: [PATCH] [Emacs] Blacklist all-packages in nix mode --- dotfiles/emacs.d/README.org | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index bb264fee..e1e90300 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -2581,6 +2581,10 @@ eval-last-sexp. *** nix #+BEGIN_SRC emacs-lisp (use-package nix-mode + :preface + (progn + (imalison:add-blacklist-to-major nix-mode) + (setq nix-mode-blacklist '("all-packages.nix"))) :config (progn (setq nix-indent-function 'nix-indent-line)))