Function: pretty-sha-path-decompose-buffer

pretty-sha-path-decompose-buffer is a natively compiled function defined in pretty-sha-path.el.

Signature

(pretty-sha-path-decompose-buffer)

Documentation

Remove path compositions from the current buffer.

Source Code

;; Defined in /nix/store/0sidmpcpzq7hwxvxlmkbzsm399sak6g6-emacs-packages-deps/share/emacs/site-lisp/elpa/pretty-sha-path-20141105.1826/pretty-sha-path.el
(defun pretty-sha-path-decompose-buffer ()
  "Remove path compositions from the current buffer."
  (with-silent-modifications
    (let ((inhibit-read-only t))
      (if pretty-sha-path-decompose-force
          (remove-text-properties (point-min)
                                  (point-max)
                                  '(composition nil))
        (save-excursion
          (goto-char (point-min))
          (while (re-search-forward pretty-sha-path-regexp nil t)
            (remove-text-properties
             (match-beginning pretty-sha-path-regexp-group)
             (match-end       pretty-sha-path-regexp-group)
             '(composition nil))))))))