]> git.eshelyaron.com Git - emacs.git/commit
Fix verilog-diff-file-with-buffer
authorBasil L. Contovounesios <contovob@tcd.ie>
Sun, 2 Apr 2023 15:46:33 +0000 (16:46 +0100)
committerBasil L. Contovounesios <contovob@tcd.ie>
Tue, 18 Apr 2023 10:14:38 +0000 (11:14 +0100)
commit0d2fdf6e36d35e7ab64d8894e8d4c27b0cc06875
treeedc4c92284614fb93cc6267690e6244d44a9301b
parent0c99254a3d0979826b605ae7f55132bb7071e1c5
Fix verilog-diff-file-with-buffer

* lisp/progmodes/verilog-mode.el: Fix commentary to avoid implying
XEmacs defines diff-command.
(verilog-diff-file-with-buffer): Claim compatibility with Emacs 21
rather than XEmacs in commentary, since the latter does not seem to
define diff-command.  Use get-buffer in place of likely thinko
with-temp-buffer + BUFNAME + current-buffer.  Fix unused
unwind-protect: move temporary file deletion to its unwind
forms (bug#62620).  Avoid race condition between file existence
check and deletion.  Handle list-valued diff-switches.  Avoid
passing empty argument to diff-command.
lisp/progmodes/verilog-mode.el