diff options
author | Vincent Ambo <tazjin@google.com> | 2019-12-19T14·22+0000 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2019-12-19T14·23+0000 |
commit | 166aff23bcffc2afa5ca5ac475f5866b759be443 (patch) | |
tree | a3df280a2ae7831a497e3d151268972d3dfbad64 | |
parent | c2f97577f700d3ac89a6192e5bf394ee1b141a81 (diff) |
fix(nix-util): Correctly enable lexical scope in this library r/198
-rw-r--r-- | tools/emacs-pkgs/nix-util/nix-util.el | 2 | ||||
-rw-r--r-- | tools/emacs/config/init.el | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/emacs-pkgs/nix-util/nix-util.el b/tools/emacs-pkgs/nix-util/nix-util.el index f37cdcc7103a..533e7e6f34c9 100644 --- a/tools/emacs-pkgs/nix-util/nix-util.el +++ b/tools/emacs-pkgs/nix-util/nix-util.el @@ -1,4 +1,4 @@ -;;; nix-util.el --- Utilities for dealing with Nix code. -*- lexical-binding: true; -*- +;;; nix-util.el --- Utilities for dealing with Nix code. -*- lexical-binding: t; -*- ;; ;; Copyright (C) 2019 Google Inc. ;; diff --git a/tools/emacs/config/init.el b/tools/emacs/config/init.el index 3ca329ce5066..d601efa67df9 100644 --- a/tools/emacs/config/init.el +++ b/tools/emacs/config/init.el @@ -168,6 +168,7 @@ :hook ((nix-mode . (lambda () (setq indent-line-function #'nix-indent-line))))) +(use-package nix-util) (use-package nginx-mode) (use-package rust-mode) (use-package terraform-mode) |