]> gitweb.michael.orlitzky.com - emacs.d.git/commit
.emacs: replace diff-buffer-against-file
authorMichael Orlitzky <michael@orlitzky.com>
Sun, 8 Mar 2026 16:59:29 +0000 (12:59 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Sun, 8 Mar 2026 16:59:29 +0000 (12:59 -0400)
commit0ec89a814bd7fbf76d36fa3033ba7a82b10af818
tree8a44d54b1fb2a7cacc33a5ac46c7d06bf01396b1
parent6392f660bc4a229a6cd5d6f4c0fdee321b22a8a5
.emacs: replace diff-buffer-against-file

Newer versions of emacs essentially have diff-buffer-against-file
built in. There's a "diff-buffer-with-file" function, and its default
argument is the file name that corresponds to the buffer. So let's
just wrap that.
.emacs