Browse Source

Fix overlays

master
10sr 6 years ago
parent
commit
1759f319b6
Signed by: 10sr GPG Key ID: C384BB17CBB19347
1 changed files with 6 additions and 5 deletions
  1. +6
    -5
      emacs.el

+ 6
- 5
emacs.el View File

@@ -2377,11 +2377,12 @@ TYPE is target object type."
"--abbrev"

treeish)
(git-walktree--replace-into-buffer buf))))
;; Overlays won't be copied with replace-buffer-contents so do this
;; after copying contents
(ansi-color-apply-on-region (point-min)
(point-max))
(git-walktree--replace-into-buffer buf))
;; Overlays won't be copied with replace-buffer-contents so do this
;; after copying contents
(remove-overlays)
(ansi-color-apply-on-region (point-min)
(point-max))))
(git-walktree-mode)
(set-buffer-modified-p nil)



Loading…
Cancel
Save