瀏覽代碼

Fix overlays

master
10sr 6 年之前
父節點
當前提交
1759f319b6
簽署人: 10sr GPG 金鑰 ID: C384BB17CBB19347
共有 1 個檔案被更改,包括 6 行新增5 行删除
  1. +6
    -5
      emacs.el

+ 6
- 5
emacs.el 查看文件

@@ -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…
取消
儲存