branch: elpa/nix-mode
commit e7fa834b80c602abe1624887b03195e2ce34ecbc
Author: Yilin Wei <[email protected]>
Commit: GitHub <[email protected]>

    Update nix-shell.el
    
    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.

Reply via email to