From e1008b4d2f4f25f9dac8c53c5e0cf858abc83420 Mon Sep 17 00:00:00 2001 From: David Caldwell Date: Sun, 24 Oct 2010 14:54:32 -0700 Subject: [PATCH] [commit-patch-buffer.el] commit-patch-buffer-manually -> commit-patch-buffer-in-directory I think it's a better, more descriptive name. --- commit-patch-buffer.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/commit-patch-buffer.el b/commit-patch-buffer.el index 28a0273..93f2850 100644 --- a/commit-patch-buffer.el +++ b/commit-patch-buffer.el @@ -6,7 +6,7 @@ (require 'vc) (require 'log-edit) -(defun commit-patch-buffer-manually (buffer directory) +(defun commit-patch-buffer-in-directory (buffer directory) "Commit the patch found in BUFFER applying it from DIRECTORY." (interactive "bBuffer to commit: \nDDirectory: ") (let* ((patch-files (with-temp-buffer @@ -62,8 +62,8 @@ then it will ask interactively which buffer to commit and to which directory to commit it." (interactive) (if (eq major-mode 'diff-mode) - (commit-patch-buffer-manually (buffer-name) (autodetect-patch-directory-root)) - (call-interactively 'commit-patch-buffer-manually))) + (commit-patch-buffer-in-directory (buffer-name) (autodetect-patch-directory-root)) + (call-interactively 'commit-patch-buffer-in-directory))) (defun autodetect-patch-directory-root () "Tries to autodect where a patch should be committed from using the -- 2.51.2