branch: master commit 1f864d6bf26d9e17de78cf29ba1455b7cefdc811 Author: Tom Willemse <t...@ryuslash.org> Commit: Tom Willemse <t...@ryuslash.org>
Fix revert prompt The ‘yes-or-no-p’ procedure doesn’t pad its prompt argument with a space so before this commit the prompt becomes: Revert current hunk in <file>?(yes or no) After this commit the prompt gets fixed to: Revert current hunk in <file>? (yes or no) --- diff-hl.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diff-hl.el b/diff-hl.el index d60fce6..4f8d474 100644 --- a/diff-hl.el +++ b/diff-hl.el @@ -418,7 +418,7 @@ in the source file, or the last line of the hunk above it." (recenter 1))) (when diff-auto-refine-mode (diff-refine-hunk)) - (unless (yes-or-no-p (format "Revert current hunk in %s?" + (unless (yes-or-no-p (format "Revert current hunk in %s? " ,(cl-caadr fileset))) (error "Revert canceled")) (let ((diff-advance-after-apply-hunk nil))