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

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

[nongnu] elpa/nix-mode 3865b7bc98 449/500: Specialize two defcustom type


From: ELPA Syncer
Subject: [nongnu] elpa/nix-mode 3865b7bc98 449/500: Specialize two defcustom types
Date: Sat, 29 Jan 2022 08:27:55 -0500 (EST)

branch: elpa/nix-mode
commit 3865b7bc980705e4749d1b35228fe303e84dc91f
Author: Daniel Nagy <danielnagy@posteo.de>
Commit: Daniel Nagy <danielnagy@posteo.de>

    Specialize two defcustom types
    
    This allows for better completion in the customization buffer.
---
 nix.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nix.el b/nix.el
index 9f9110d933..29cfe66dd2 100644
--- a/nix.el
+++ b/nix.el
@@ -52,12 +52,12 @@
 (defcustom nix-store-dir "/nix/store"
   "Nix store directory."
   :group 'nix
-  :type 'string)
+  :type 'directory)
 
 (defcustom nix-state-dir "/nix/var"
   "Nix state directory."
   :group 'nix
-  :type 'string)
+  :type 'directory)
 
 (defun nix-system ()
   "Get the current system tuple."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]