Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • Your first approach worked, I guess the only part I missed was the switch-to-buffer-other-window invocation from the second approach. However, isn't this kind of thing exactly what with-temp-buffer-window and friends were made for? Commented Jan 15, 2016 at 18:21
  • Maybe? I've read the manual section on with-temp-buffer-window several times, and I still don't get it. I think it may be approaching the same problem from a different angle somehow. Commented Jan 15, 2016 at 21:23
  • I tried your revised approach as well, it works fine except it appears that diff-mode isn't itself applied. It seems that some other built-in function should work, but I don't understand the manuals any better, so I'll stick with your original approach. Thanks! Commented Jan 15, 2016 at 22:36