##// END OF EJS Templates
Emacs: kill commit buffer once it's done with.
Bryan O'Sullivan -
r1000:3362b410 default
parent child Browse files
Show More
@@ -610,7 +610,9 b' With a prefix argument, prompt for the p'
610 610
611 611 (defun hg-commit-abort ()
612 612 (interactive)
613 (error "not implemented"))
613 (let ((buf hg-prev-buffer))
614 (kill-buffer nil)
615 (switch-to-buffer buf)))
614 616
615 617 (defun hg-commit-finish ()
616 618 (interactive)
@@ -637,7 +639,10 b' With a prefix argument, prompt for the p'
637 639 (not hg-commit-allow-empty-file-list))
638 640 (error "Cannot proceed - no files to commit"))
639 641 (setq message (concat message "\n"))
640 (apply 'hg-run0 "--cwd" hg-root "commit" "-m" message files)))
642 (apply 'hg-run0 "--cwd" hg-root "commit" "-m" message files)
643 (let ((buf hg-prev-buffer))
644 (kill-buffer nil)
645 (switch-to-buffer buf))))
641 646
642 647 (defun hg-commit-mode ()
643 648 "Mode for describing a commit of changes to a Mercurial repository.
General Comments 0
You need to be logged in to leave comments. Login now