branch: elpa/nix-mode
commit a00b3f776de65b5af7571976a73213ca2a5c683e
Merge: 21d3ba0b80 e7fa834b80
Author: Matthew Bauer <[email protected]>
Commit: GitHub <[email protected]>
Merge pull request #103 from yilinwei/patch-1
Add autoloads for eshell functions
---
nix-shell.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/nix-shell.el b/nix-shell.el
index 3c3df93bc2..c6d23e0c04 100644
--- a/nix-shell.el
+++ b/nix-shell.el
@@ -197,6 +197,7 @@ PKGS-FILE package set to pull from."
(insert "} \"\"\n"))
nix-file))
+;;;###autoload
(defun nix-eshell-with-packages (packages &optional pkgs-file)
"Create an Eshell buffer that has the shell environment in it.
PACKAGES a list of packages to pull in.
@@ -216,6 +217,7 @@ PKGS-FILE a file to use to get the packages."
buffer))
+;;;###autoload
(defun nix-eshell (file &optional attr)
"Create an Eshell buffer that has the shell environment in it.
FILE the .nix expression to create a shell for.