From 166aff23bcffc2afa5ca5ac475f5866b759be443 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Thu, 19 Dec 2019 14:22:33 +0000 Subject: fix(nix-util): Correctly enable lexical scope in this library --- tools/emacs-pkgs/nix-util/nix-util.el | 2 +- tools/emacs/config/init.el | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'tools') 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) -- cgit 1.4.1