From e441ce8bfb68d5d788ea040bee72ef8eeb40a5b5 Mon Sep 17 00:00:00 2001 From: Jonathan Kotta Date: Mon, 15 Mar 2010 20:59:50 -0700 Subject: [PATCH] [commit-patch-buffer.el] Adjust for Emacs 23 log-edit API. I got errors when running commit-patch. It looks like log-edit's arguments changed meanings somewhere along the line (there's a comment in the source). I'm using GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.16.1) of 2009-07-31 on platinum, modified by Debian. Here's a patch to fix it in my Emacs, but I didn't test with Emacs 22. --- commit-patch-buffer.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commit-patch-buffer.el b/commit-patch-buffer.el index 481a0cf..b40e0b6 100644 --- a/commit-patch-buffer.el +++ b/commit-patch-buffer.el @@ -52,7 +52,7 @@ ,(length patch-files) ,(length visiting-buffers)))))) (delete-file patch)))) nil - `(lambda () ',patch-files) + `((log-edit-listfun . (lambda () ',patch-files))) "*commit*"))) (eval-after-load 'diff-mode '(progn -- 2.51.2