Created
January 5, 2012 17:40
-
-
Save legumbre/1566302 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun rrnic-diff (cmd1 cmd2) | |
(interactive | |
(list | |
(read-shell-command "Shell command (1): " nil nil) | |
(read-shell-command "Shell command (2): " nil nil))) | |
(let ((b1 (get-buffer-create "*1*")) (b2 (get-buffer-create "*2*"))) | |
(shell-command cmd1 b1) | |
(shell-command cmd2 b2) | |
(ediff-buffers b1 b2))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment