Function: majutsu-conflict--scan-styles

majutsu-conflict--scan-styles is a natively compiled function defined in majutsu-conflict.el.

Signature

(majutsu-conflict--scan-styles)

Documentation

Return a list of conflict styles found in the current buffer.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-conflict.el
(defun majutsu-conflict--scan-styles ()
  "Return a list of conflict styles found in the current buffer."
  (save-excursion
    (goto-char (point-min))
    (let (styles)
      (while (re-search-forward majutsu-conflict-begin-re nil t)
        (push (majutsu-conflict--detect-style
               (match-beginning 0)
               (length (match-string 1)))
              styles))
      styles)))