about summary refs log tree commit diff
path: root/configs/shared/emacs/.emacs.d/elpa/nix-mode-20180908.2240/nix-edit.el
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-01-13T19·33-0500
committerWilliam Carroll <wpcarro@gmail.com>2019-01-13T19·45-0500
commit481df5a3855ccd5ea3bf4d5f41ae780f4773b7b4 (patch)
tree3aeb7e20eaba176536cb8d10ba531ac39674fc4a /configs/shared/emacs/.emacs.d/elpa/nix-mode-20180908.2240/nix-edit.el
parent18b9930b8604134f087ca61fe94740b31f94327c (diff)
Remove Emacs spam
My inconsistent git history-keeping is coming to bite me here. At the
moment, I can only speculate about what went wrong here. The gist is
this: I unintentionally committed files that were supposed to be ignored

This commit removes those files which includes:

- auto-save-list
- elpa packages
- quelpa packages
- misc
Diffstat (limited to 'configs/shared/emacs/.emacs.d/elpa/nix-mode-20180908.2240/nix-edit.el')
-rw-r--r--configs/shared/emacs/.emacs.d/elpa/nix-mode-20180908.2240/nix-edit.el37
1 files changed, 0 insertions, 37 deletions
diff --git a/configs/shared/emacs/.emacs.d/elpa/nix-mode-20180908.2240/nix-edit.el b/configs/shared/emacs/.emacs.d/elpa/nix-mode-20180908.2240/nix-edit.el
deleted file mode 100644
index 3e5c255f3404..000000000000
--- a/configs/shared/emacs/.emacs.d/elpa/nix-mode-20180908.2240/nix-edit.el
+++ /dev/null
@@ -1,37 +0,0 @@
-;;; nix-edit.el -- run nix commands in Emacs -*- lexical-binding: t -*-
-
-;; Author: Matthew Bauer <mjbauer95@gmail.com>
-;; Homepage: https://github.com/NixOS/nix-mode
-;; Keywords: nix
-
-;; This file is NOT part of GNU Emacs.
-
-;;; Commentary:
-
-;;; Code:
-
-(require 'nix)
-(require 'nix-search)
-
-(defun nix-edit (&optional file attr)
-  "Open the nix log.
-FILE the nix file to load from.
-ATTR the attribute to find in nix expressions."
-  (interactive (list (nix-read-file) nil))
-  (unless attr (setq attr (nix-read-attr file)))
-
-  (let ((stdout (generate-new-buffer "nix-edit"))
-        (process-environment (cons "EDITOR=echo" process-environment))
-	result)
-    (call-process nix-executable nil (list stdout nil) nil
-		  "edit" "-f" file attr)
-    (with-current-buffer stdout
-      (when (eq (buffer-size) 0)
-	(error
-	 "Error: nix edit failed to produce any output"))
-      (setq result (substring (buffer-string) 0 (- (buffer-size) 1))))
-    (kill-buffer stdout)
-    (find-file result)))
-
-(provide 'nix-edit)
-;;; nix-edit.el ends here