Fortunatly we could use pre-built gccemacs right now.
Those two repos did the greate job for us.
https://github.com/twlz0ne/nix-gccemacs-darwin
https://github.com/twlz0ne/nix-gccemacs-sierra
Here is the tutorial:
(defun diff-last-two-kills (&optional ediff?) | |
"Diff last couple of things in the kill-ring. With prefix open ediff." | |
(interactive "P") | |
(let* ((old "/tmp/old-kill") | |
(new "/tmp/new-kill") | |
(prev-ediff-quit-hook ediff-quit-hook)) | |
(cl-flet ((kill-temps | |
() | |
(dolist (f (list old new)) | |
(kill-buffer (find-buffer-visiting f))) |
Fortunatly we could use pre-built gccemacs right now.
Those two repos did the greate job for us.
https://github.com/twlz0ne/nix-gccemacs-darwin
https://github.com/twlz0ne/nix-gccemacs-sierra
Here is the tutorial:
#!/usr/bin/env bb | |
;; lein2deps | jet --pretty > deps.edn | |
(require '[clojure.string :as str] | |
'[clojure.edn :as edn]) | |
(defn read-project-clj [] | |
(-> "project.clj" | |
slurp |