about summary refs log tree commit diff
path: root/third_party/emacs
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-06-03T01·30+0100
committerVincent Ambo <tazjin@google.com>2020-06-03T01·31+0100
commitcc2409702965300d00ca39f0b74d2f5474b5a476 (patch)
tree0b7852350bb1577a56644ef10ef7d5a5acf7c412 /third_party/emacs
parent54b9925b931afbc762e03cced13e23d2b90427c2 (diff)
feat(3p/emacs): Check in derivation for explain-pause-mode r/879
This mode makes it possible to track down slowness in Emacs functions
across the board.

https://github.com/lastquestion/explain-pause-mode

Very useful for some things I need to debug ...
Diffstat (limited to 'third_party/emacs')
-rw-r--r--third_party/emacs/explain-pause-mode.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/third_party/emacs/explain-pause-mode.nix b/third_party/emacs/explain-pause-mode.nix
new file mode 100644
index 000000000000..60e0cd149881
--- /dev/null
+++ b/third_party/emacs/explain-pause-mode.nix
@@ -0,0 +1,20 @@
+{ pkgs, ... }:
+
+let
+  inherit (pkgs) emacsPackages fetchFromGitHub;
+in emacsPackages.melpaBuild {
+  pname = "explain-pause-mode";
+  version = "0.1"; # master on 20200603
+
+  recipe = builtins.toFile "recipe.el" ''
+    (explain-pause-mode :fetcher github
+                        :repo "lastquestion/explain-pause-mode")
+  '';
+
+  src = fetchFromGitHub {
+    owner = "lastquestion";
+    repo = "explain-pause-mode";
+    rev = "35f7d780a9c164b5c502023746473b1de3857904";
+    sha256 = "0d9lwzqqwmz0n94i7959rj7m24265yf3825a5g8cd7fyzxznl1pc";
+  };
+}