Commit 2eecaa28 authored by Konstantin Kharlamov's avatar Konstantin Kharlamov Committed by Stefan Monnier

* lisp/vc/smerge-mode.el (smerge-vc-next-conflict): New command

Copyright-paperwork-exempt: yes
parent b05702d7
......@@ -1432,6 +1432,20 @@ If no conflict maker is found, turn off `smerge-mode'."
(error (smerge-auto-leave))))
(require 'vc)
(defun smerge-vc-next-conflict ()
"Tries to go to next conflict in current file, otherwise tries
to open next conflicted file version-control-system wise"
(let ((buffer (current-buffer)))
(when (not (smerge-goto-next-conflict))
(if (eq buffer (current-buffer))
(message "No conflicts found")
(goto-char 0)
(provide 'smerge-mode)
;;; smerge-mode.el ends here
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment